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


Please Help Members By Posting Answers For Below Questions

What is difference between structure and union in c?

552


What are the back slash character constants or escape sequence charactersavailable in c?

691


Why main is used in c?

595


What is the use of header files?

612


What does sizeof function do?

623






What is null pointer in c?

602


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

683


What are the 5 elements of structure?

575


Explain what is the concatenation operator?

632


Explain the difference between strcpy() and memcpy() function?

599


What tq means in chat?

586


What do you mean by a sequential access file?

631


i got 75% in all semester am i eligible for your company

1745


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1452


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

663