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...

Hi Guru here.......my question is....... Is it necessary to
start the execution of a program from the main() in C?

Answer Posted / kumar

we can execute the program without main() also,but according
to the standardization of 'c' we must write the main
function.main is called as start-up function......during
compilation there will be a _start function by which the
execution starts.this _start calls main,after main execution
it returns to the _start function then it starts the
execution of the remaining code............

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain whether we can use semaphore or mutex or spinlock in interrupt context in linux kernel?

902


Tell me how to create a child process in linux?

754


Explain what is return type of isr?

895


How do you react to people criticizing your code/documents?

840


Tell me which parameters decide the size of data type for a processor?

978


What is a inode?

892


How does combination of functions reduce memory reuirement in embedded system?

795


What are the uses of the keyword volatile?

998


What is an embedded system?

851


Tell me about some of your hobby projects that you've written in your off time.

887


Can a pointer be volatile ?

1010


Tell me what type of scheduling is there in rtos?

802


What is the difference between asynchrony and concurrency?

1025


Explain what is the difference between mutexes and semaphores?

807


What are some alternate ways to store data other than a relational database? Why would you do that, and what are the trade-offs?

839