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 / ian

"Normally you are at liberty to give functions whatever
names you like, but ``main'' is special - your program
begins executing at the beginning of main. This means that
every program must have a main somewhere." Kernighan &
Ritchie - The C Programming Language 2ed. p.6

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is top half & bottom half of a kernel?

838


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

786


Tell me what is a watchdog timer?

901


What are the advantages and disadvantages of embedded system?

945


How i/o devices are classified for embedded system?

891


What is the purpose of a watchdog timer?

954


What are the most common errors you've found in embedded systems?

856


Can you have constant volatile variables?

779


Tell me what is the need for dmac in es?

831


How to reduce function call overhead in arm based systems

818


What is priority inheritance?

798


What is rtos in an embedded system?

944


What is loop unrolling?

890


Tell me what is null pointer and what is its use?

851


Why cannot arrays be passed by values to functions?

919