What is the meaning When we write "#include" what is # and
what does include does there???
Answer Posted / arjun r
'#' is a preprocessor directive. The compilers processes
lines in a code starting with a '#' before it compiles the
whole code . Example #define TEN 10 the compiler would
replace all instances of TEN by 10 in the code and only then
compile the code . Similarly ,
'#include' - include is a key work which ask the compiler to
also resolve function names and variables names using the
file name specified.
Ex '#include<xyz.h>' indicates the compiler that while
searching resolve function names and/or variable names from
xyz.h file also.
| Is This Answer Correct ? | 25 Yes | 13 No |
Post New Answer View All Answers
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Hi can anyone tell what is a start up code?
Explain the properties of union.
What are reserved words with a programming language?
What is gets() function?
What is the use of function in c?
What is the difference between abs() and fabs() functions?
If errno contains a nonzero number, is there an error?
How can I get back to the interactive keyboard if stdin is redirected?
Explain pointer. What are function pointers in C?
What are the functions to open and close file in c language?
How can you draw circles in C?
What are the scope of static variables?
What are integer variable, floating-point variable and character variable?
Why main function is special give two reasons?