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 |
What are the different types of errors?
Explain the use of bit fieild.
What are header files why are they important?
what are the languages used in c#?
i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4
what do you mean by inline function in C?
write a c program to add two integer numbers without using arithmetic operator +
what is the difference between definition and declaration? give me some examples.
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
write a c program to find the roots of a quadratic equation ax2 + bx + c = 0
11 Answers CSC, St Marys, TATA,
What are the types of macro formats?
write a c program for greatest of three numbers without using if statment