What is the meaning When we write "#include" what is # and
what does include does there???
Answer Posted / pooja gupta
# is a symbol used by the developer of c compiler designer
to define the preprocessor directives. Pre-processor word
means that the header file following #include is already
processed and their is no chance of it containing any
errors or flats. User can directly include the header file
in their program.
The #include use in 2 ways.
1. #include<filename> and
2. #include"filename".
in #include<filename>
if the file is not found there, the compiler checks the
source header directory.If the file is not still found
there,the pre-processor checks the current directory....
in #include"filename"
If the file is not found there the compiler checks the
compile include directory.If the file is still not found
there the pre-procesor checks the source header
directory.
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Is it better to use malloc() or calloc()?
With the help of using classes, write a program to add two numbers.
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
How do I convert a string to all upper or lower case?
Is a pointer a kind of array?
Is javascript written in c?
What is array in C
please send me the code for multiplying sparse matrix using c
What are structures and unions? State differencves between them.
How do you print an address?
What is a structural principle?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
When should structures be passed by values or by references?
Why is c so popular?