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

What is inversion of control?

904


Tell me what are the different types of buses used by the embedded systems?

836


Explain me what is endianness of a system and how do different systems communicate with each other?

860


Explain me what are the different types of system involved in embedded system?

946


Explain what is semaphore?

853


Tell me what are buses used for communication in embedded system?

904


Infinite loops often arise in embedded systems. How does you code an infinite loop in c?

1231


What is an anti-aliasing filter?

938


What is yagni? Is this list of questions an example?

846


Can you please explain the difference between mutexes vs semaphores?

866


Explain me what are the rules followed by mutexes?

828


What is a memory leak? What is a segmentation fault?

903


Can you name any code testing tools?

980


What is dma in an embedded system?

985


Tell me can we put breakpoint inside isr?

1002