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

Tell me what is rtos?

818


What is the function of simple thread poll in embedded system?

850


Explain what are the essential components of embedded system?

803


What is the need for dmac in es?

921


Have you designed ui, user interface?

788


What is pass by value and pass by reference? How are structure passed as arguments?

889


What is an anti-aliasing filter?

889


What is the significance of watchdog timer in es?

835


Are you still writing code? Do you love it?

796


What kinds of problems can you hit with lockless model?

981


Which is the best way to write loops?

884


How might a task-based model differ from a threaded model?

807


How does the interrupts handle by using the threads?

918


How are variables mapped across to the various memories by the c compiler?

1135


List out various uses of timers in embedded system?

866