which header file contains main() function in c?
Answers were Sorted based on User's Feedback
Answer / mukesh
main() is pre user defined function there4 no need of header
file for it bcoz it is not a library function
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / neha
If main() is UDF,then UDF r part of the program which compile runtime but in simple program we also use ctrl+F9 to run program?give me ans pls
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / surendra nath sahoo
Hello Friends..
Actually a header file in C language only have
four things
1:typedef
2:function prototype
3:macro definations
4:external variables
And header file is required if the return type of a function
is not int.
as main function default return type is int so header file
is not required.
| Is This Answer Correct ? | 0 Yes | 2 No |
that header file will not be given or revealed to the user , since there are possibilites to manipulate it........ in that file....
thank u
| Is This Answer Correct ? | 5 Yes | 18 No |
i have a written test for microland please give me test pattern
Can a variable be both const and volatile?
Why is c fast?
what does exit() do?
how to generate the length of a string without using len funtion?
Why we use break in c?
Explain what is wrong with this statement? Myname = ?robin?;
implement OR gate without using any bitwise operator.
write a program to find the frequency of a number
How to write c functions that modify head pointer of a linked list?
Tell us bitwise shift operators?
what is self refrential structure