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
Explain the use of function toupper() with and example code?
Why do we use stdio h and conio h?
Write a program to generate random numbers in c?
What is the significance of scope resolution operator?
What is difference between scanf and gets?
Write a program to know whether the input number is an armstrong number.
Explain null pointer.
How pointer is different from array?
What is null pointer constant?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What are logical errors and how does it differ from syntax errors?
What is an auto variable in c?
What is a nested loop?
How will you write a code for accessing the length of an array without assigning it to another variable?
What are the characteristics of arrays in c?