which header file contains main() function in c?
Answer Posted / m3th0d
main() doesn't require any header file,
header files are not the part of C language they just
provides the means of accessing input/output and other
utilities.
int main()
{
int a=10;
return 0;
}
can be compiled without including any header file :)
| Is This Answer Correct ? | 35 Yes | 3 No |
Post New Answer View All Answers
What is omp_num_threads?
Explain what is a 'locale'?
What is use of integral promotions in c?
Write a program to check palindrome number in c programming?
What is the difference between #include
Explain two-dimensional array.
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Do pointers need to be initialized?
Do you know null pointer?
What are pragmas and what are they good for?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What is meant by gets in c?
What is cohesion in c?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
The difference between printf and fprintf is ?