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

For example,# is probably known as the pre-processor,because
its called conditional platform code.And also its a header
part section.
The #include use in 2 ways.One is the #include<filename> and
second is the #include"filename".The First one,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....

#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.

Note:
The compiler first checks the compile include directory
for the specified file.

And also thanks for giving the chance for scribble here.

Is This Answer Correct ?    6 Yes 9 No

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

Answer / sakthivel.m

Header file used for to accepped the total programs and
steps in c language.

#include<stdio.h>

#--> preprocessor (define a programing checking concept)

include--> it interface both the header file and preprocessor

< >--> Expretion of header file area

" "--> charater type using a section of header file.

stdio.h--> standard input output.header (header file name)

Is This Answer Correct ?    5 Yes 8 No

Post New Answer

More C Interview Questions

How. To pass the entrance test

1 Answers   Tech Mahindra,


Write a C function to search a number in the given list of numbers. donot use printf and scanf

6 Answers   Honeywell, TCS,


What is the most efficient way to store flag values?

0 Answers  


How can I find out if there are characters available for reading?

0 Answers  


How do I convert a string to all upper or lower case?

0 Answers  


Explain the difference between struct and union.

2 Answers  


11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }

4 Answers   Vector, Wipro, Zoho,


How is null defined in c?

0 Answers  


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

0 Answers  


main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.

1 Answers   Cisco,


void main() { int i=5; printf("%d",i++ + ++i); }

21 Answers   ME,


Categories