which header file contains main() function in c?
Answer Posted / tejas
main is the only function which is called from outside of the program. the code for invoking the main function is written inside something called as a "startup code". this startup code contains the prototype of main function. the main function is "called" from within this startup code which then is linked by linker to its definition created by the programmer. The linker, as we know, is responsible for linking object code to lib code. Along with these two codes, it also links startup code to create the executable file.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Explain modulus operator. What are the restrictions of a modulus operator?
what value is returned to operating system after program execution?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What is the use of sizeof?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
In C language, a variable name cannot contain?
program to convert a integer to string in c language'
Explain what is operator promotion?
What does %d do in c?
How do I get a null pointer in my programs?
What is meant by errors and debugging?
When do we get logical errors?
Can a file other than a .h file be included with #include?
What is use of pointer?