which header file contains main() function in c?
Answer Posted / sarita
main is not included in any header file
It is generally the first user-written function run when a
program starts .
main() is a function called by another function, which is
the start-routine. This routine is created by the compiler .
If you can write your own compiler, then you can think of
changing main() to your name itself!
ANSI compliant compilers need main() as the starting point.
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What are examples of structures?
What type of function is main ()?
What is call by reference in functions?
Explain how can I remove the trailing spaces from a string?
What is the difference between arrays and pointers?
Under what circumstances does a name clash occur?
what type of questions arrive in interview over c programming?
What is extern variable in c with example?
What is the use of extern in c?
What is difference between stdio h and conio h?
What is the right type to use for boolean values in c? Is there a standard type?
Is a pointer a kind of array?
Here is a good puzzle: how do you write a program which produces its own source code as output?
What are the modifiers available in c programming language?
What does 2n 4c mean?