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

Explain how do you determine a file’s attributes?

599


What is the explanation for the dangling pointer in c?

684


Which header file is essential for using strcmp function?

947


Why doesnt that code work?

604


What is pointer to pointer in c language?

600






Write a program to show the change in position of a cursor using c

585


Where can I get an ansi-compatible lint?

646


Why void main is used in c?

564


What are loops in c?

555


How can I prevent another program from modifying part of a file that I am modifying?

618


can any one provide me the notes of data structure for ignou cs-62 paper

1708


What is a constant and types of constants in c?

606


What is formal argument?

654


What is the difference between %d and %i?

598


Is main an identifier in c?

607