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 |
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
/*program to calculate hra,da in salary if salary less than 10000 then hra15%,da13% otherwise hra20%,da18%/*
What is s in c?
Explain the use of fflush() function?
Why is sizeof () an operator and not a function?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is structure data type in c?
What is data structure in c language?
what is a pointer
4 Answers Bank Of America, TCS,
In C language what is a 'dangling pointer'?
if a person is buying coconuts of Rs10,and then sell that coconuts of Rs9,with the loss of one rupee.After that the person became a millaniore.how?