Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What are the Advantages of using macro

1177


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

1035


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1114


Why is #define used?

1276


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1166


C language questions for civil engineering

1722


If fflush wont work, what can I use to flush input?

1106


what are enumerations in C

1163


What are the c keywords?

1206


program for reversing a selected line word by word when multiple lines are given without using strrev

2482


What is memory leak in c?

1129


What is structure and union in c?

1152


Why array is used in c?

1017


What is the use of a conditional inclusion statement in C?

1068


Can a variable be both static and volatile in c?

1044