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 can include files be nested?

775


Tell me significance of watchdog timer in embedded systems?

802


What is the difference between hardware design and software design?

758


What is the size of the int, char and float data types?

774


Please explain can structures be passed to the functions by value?

736


Tell me what are the qualifiers in c?

844


What's your experience with technical documentation?

806


What is return type of isr?

755


What is difference between using a macro and a in line function?

850


What are the different types of embedded systems?

807


Tell me what is the function of simple thread poll in embedded system?

821


Can we use any function inside isr?

802


What is the difference between "set" logic, and "procedural" logic. When would you use each one and why?

745


Tell me what is the need for an infinite loop in embedded systems?

828


What is continuous integration? Why is it important?

878