What is the meaning When we write "#include" what is # and
what does include does there???
Answers were Sorted based on User's Feedback
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 |
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 |
How. To pass the entrance test
Write a C function to search a number in the given list of numbers. donot use printf and scanf
What is the most efficient way to store flag values?
How can I find out if there are characters available for reading?
How do I convert a string to all upper or lower case?
Explain the difference between struct and union.
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
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?
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
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.
void main() { int i=5; printf("%d",i++ + ++i); }