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


Please Help Members By Posting Answers For Below Questions

What are the 5 types of inheritance in c ++?

570


What is conio h in c?

614


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

622


What are the application of void data type in c?

687


What are valid operations on pointers?

659






Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

657


What is a struct c#?

595


Why is main function so important?

607


can we change the default calling convention in c if yes than how.........?

2024


why return type of main is not necessary in linux

1695


What is f'n in math?

609


How can I remove the trailing spaces from a string?

604


Explain what is dynamic data structure?

638


What does static variable mean in c?

641


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2565