What is the relation between # and include<stdio.h>
Answer Posted / jafar ali
when ever we include 'stdio.h' or any other header file
and use its features and functions using keyword 'include',
their codes are inserted in our source-code before
compiling.
when we use function printf() from stdio.h its code is
inserted in our code. This is done by c preprocessors and
is done before compiling the code.
And here '#' plays a vital part. # indicates that this
lines are to be considered by the preprocessor and it acts
appropriately.
i hope i have answered the question. i am new to c and
if any one want to add to this they are welcome.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How to declare a variable?
What is identifiers in c with examples?
What is the difference between functions getch() and getche()?
What is the correct code to have following output in c using nested for loop?
Write the syntax and purpose of a switch statement in C.
What are bitwise shift operators in c programming?
Is r written in c?
What are the header files used in c language?
Write the Program to reverse a string using pointers.
How can I change their mode to binary?
what is the function of pragma directive in c?
Which programming language is best for getting job 2020?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
How many keywords (reserve words) are in c?
Can I initialize unions?