#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