why do we use # in c-language?
Answer / raj
This is for including Header files in your 'C' program.
Header files means to include built-in files of your C
library.The #include directive tells the preprocessor to
treat the contents of a specified file as if those contents
had appeared in the source program at the point where the
directive appears. You can organize constant and macro
definitions into include files and then use #include
directives to add these definitions to any source file.
| Is This Answer Correct ? | 7 Yes | 0 No |
What is the difference between procedural and functional programming?
typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?
in linking some of os executables are linking name some of them
main() { charx; while (x=0;x<=255;x++) printf("\nAscii value %d Character %c,x,x); }
What is ambagious result in C? explain with an example.
what is the use of pointers
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
Why header file is used in c?
Write a program to check palindrome number in c programming?
provide an example of the Group by clause, when would you use this clause
What is the size of enum in bytes?
What is c basic?