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 is difference between static and global variable in c?

1100


Explain what is a program flowchart and explain how does it help in writing a program?

1140


What are valid signatures for the Main function?

1290


Differentiate between calloc and malloc.

1317


How do you write a program which produces its own source code as output?

1171


What is strcmp in c?

1210


What is && in c programming?

1221


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

2018


difference between Low, Middle, High Level languages in c ?

2137


What is derived datatype in c?

1140


What does the && operator do in a program code?

1279


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

1153


What is the use of gets and puts?

1093


What is the difference between local variable and global variable in c?

1282


How can I read a binary data file properly?

1244