What is the meaning When we write "#include" what is # and
what does include does there???

Answers were Sorted based on User's Feedback



What is the meaning When we write "#include" what is # and what does include does there??..

Answer / prof.gagandeep jagdev

# refers to pre-processor 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 flaws. User can directly include the header file
in his/her program.

Is This Answer Correct ?    160 Yes 26 No

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / vignesh1988i

# is the one of a symbol used by a developer of C language
standards for defining of macros... if you are designing a
compiler you can use a different symbol or may not use these
symbols for definition of macros............ it dosen't have
meaning and since # is a rare symbol used . so it's my guess .

the include words includes the header or any file with
extension to the C source code that the run time or linker
time..... in which may inbuilt functions are available like
printf,clrscr(),scanf() etc etc............


thank u

Is This Answer Correct ?    94 Yes 50 No

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / singaravel

# work as a preprocessor when include is used for to connect
the header file to the complier, we want to write
#include"stdio.h" or <stdio.h> because c has no built-in
function to run the program.like wise we include "conio.h"
which is used for link the clrscr()and getch(),but it is not
so important because we can run the program without using
clrscr() and getch() from the header file "conio.h" but we
never run the program without using <stdio.h>

Is This Answer Correct ?    41 Yes 17 No

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / kamal

# is a symbol with the help of which the compiler will
first process the statement following # before compiling
the program. for example if we have something called
#define MAX 100 then the compiler will replace all MAX in
the program with 100 and then compile the program.
Likewise include following # will tell the compiler to
include the header file mentioned in the statement.
ex: #include<stdio.h>


I think all will be satisfied with my answer....!

Is This Answer Correct ?    20 Yes 5 No

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / the great elango

# is a symbol, that represent to the complier,the header
files are includes in the program.....include key word is
using to include the header files in c

Is This Answer Correct ?    48 Yes 34 No

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / 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

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / karthikamburu

# is the main part of the 'c'program.it is used to define
the header file it means that it is used to declare that
header filesfor ex:"#include<stdio.h>".here it is used for
standarad for declaring printf and scanf()
functions.here "#" is the main part.
"#include<conio.h>"
it is used for clrscr() and getch()functions.here
also "#"is the main header file.actually it is preprocessor.

Is This Answer Correct ?    19 Yes 11 No

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / raghuveer

The # is the Pre-Processor. Means it is a special kind of
program that executed before the actual compilation of the
program. When it executed it performs several tasks like
defining etc. On such operation is the include. The include
tell that the current program requires certain inclusion of
files. Like #include<stdio.h>. Here we are directing the
pre-processor to include the stdio.h header file.

Is This Answer Correct ?    16 Yes 11 No

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / sakthivel

# -> is the one of to be set in PREPROCESSOR for the c programs it read the header file to process

include -> it's called and link for # and <stdio.h>

< > and " " -> to set character and header file read the programming section


stdio.h -> slandered input output.header it's header file name
to set the our process header file

Is This Answer Correct ?    7 Yes 3 No

What is the meaning When we write "#include" what is # and what does include does there??..

Answer / leepika nayak

#include<stdio,h> is the preprocesser directives means before the compiler catch the program it automatically processed and
no chance of error.# is the macro.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More C Interview Questions

what is the use of a array in c

6 Answers  


Difference Between embedded software and soft ware?

1 Answers   Bosch,


Write a Program to accept different goods with the number, price and date of purchase and display them

0 Answers   HDFC,


Is c is a procedural language?

0 Answers  


What are 'near' and 'far' pointers?

0 Answers  






Give a fast way to multiply a number by 7

15 Answers   Accenture, Aricent, Microsoft,


how should functions be apportioned among source files?

0 Answers  


#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?

4 Answers   Ramco,


1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(ā€œ%dā€,x); --x; } }

7 Answers   CSC,


Why flag is used in c?

0 Answers  


Describe how arrays can be passed to a user defined function

0 Answers  


What is the size of array float a(10)?

0 Answers  


Categories