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

Why is python slower than c?

793


Is c is a middle level language?

781


What are the benefits of c language?

841


List the difference between a "copy constructor" and a "assignment operator"?

760


What are dangling pointers in c?

815






hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1609


How to write a multi-statement macro?

802


What are the 3 types of structures?

751


What is void c?

764


What is the best way to comment out a section of code that contains comments?

1039


Why do we use namespace feature?

794


Where are local variables stored in c?

743


How can I avoid the abort, retry, fail messages?

846


What is the explanation for modular programming?

877


Differentiate between declaring a variable and defining a variable?

804