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
Explain the use of #pragma exit?
What are the advantages and disadvantages of pointers?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
How can you avoid including a header more than once?
What is keyword in c?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
Explain the red-black trees?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What are conditional operators in C?
Explain what does it mean when a pointer is used in an if statement?
Why can’t we compare structures?
In C, What is the #line used for?
What is the use of in c?
How is actual parameter different from the formal parameter?
How do you generate random numbers in C?