Pages

Welcome Fellow Batchmates

Hey Folks ! Welcome to RVCE MCA 2013 homepage exclusively for our batch. I ll be updating the blog with the happening and useful events from class. Hoping for a good response from you guys and make this three years of post-graduation a memorable one ! Just click on "Join this site" to the right corner of this page and you are good to go ! Once you join, "Comment" on the posts :)

Tuesday, October 11, 2011

Quiz questions on "C"

#include - File inclusion

#define - defines constants/ Macros

#ifdef - condition compilation

< > - Compiler looks for files in the specified Directory

" " - Complier looks for in the specified Path

Arguements in the main fuction are main(int count, char pointer array)

where "count" includes the file name

variable main can be declared inside main

return(a,b,c....n) returns n

Compiler used in Linux is the GCC complier

by default the filename is stored as ./a.out

printf("%d",a) is intepreted internally by the compiler as printf("%d",*(&a)); where * is the content and & is the address

pointers can perform +,- but not /,* or %.

sizeof(a) or (f) or (2) is 4 bytes ; sizeof(0.6) is 8 bytes and sizeof('c') is 1 byte

float 0.4 = 0.3999 ; double 0.4 = 0.4


If you have any more questions that are missing here, please post in the comments section !

No comments:

Post a Comment