why the execution starts from main function

Answer Posted / vrushali

The c run time system inserts some start up code before the
main function and inserts some clean up code at the end of
the program .

The operating system loads the executable of the program in
to the memory with the help of the loader and transfers the
control to theprogram .

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

diff between exptected result and requirement?

1592


What is a class c rental property?

597


Is anything faster than c?

575


What is the significance of c program algorithms?

674


What is pointer to pointer in c?

626






How can you increase the size of a statically allocated array?

606


differentiate built-in functions and user – defined functions.

611


Explain 'bus error'?

547


Why do we need functions in c?

543


Dont ansi function prototypes render lint obsolete?

599


What is the importance of c in your views?

584


What are lookup tables in c?

542


Can you please explain the scope of static variables?

597


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4167


What is an example of structure?

580