Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 ?    17 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

How can this be legal c?

0 Answers  


program to get the remainder and quotant of given two numbers with out using % and / operators?

10 Answers   College School Exams Tests, IBM,


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

0 Answers  


write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }

1 Answers  


What is the use of ?: Operator?

0 Answers  


In header files whether functions are declared or defined?

1 Answers   TCS,


What is the use of the sizeof operator?

2 Answers  


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

0 Answers  


How do I initialize a pointer to a function?

2 Answers  


write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.

2 Answers  


write a program to copy a string without using a string?

2 Answers  


What is static memory allocation? Explain

0 Answers  


Categories