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 are examples of structures?

591


What type of function is main ()?

583


What is call by reference in functions?

560


Explain how can I remove the trailing spaces from a string?

621


What is the difference between arrays and pointers?

631






Under what circumstances does a name clash occur?

686


what type of questions arrive in interview over c programming?

1551


What is extern variable in c with example?

536


What is the use of extern in c?

639


What is difference between stdio h and conio h?

880


What is the right type to use for boolean values in c? Is there a standard type?

559


Is a pointer a kind of array?

598


Here is a good puzzle: how do you write a program which produces its own source code as output?

591


What are the modifiers available in c programming language?

736


What does 2n 4c mean?

711