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

When do you know your code is ready for production?

860


What's your experience with qa engineering?

706


Explain the characteristics of embedded system?

822


Explain what is the difference between mutexes and semaphores?

771


What are the advantages and disadvantages of separation of concerns?

788


What are the commonly found errors in embedded systems?

770


Tell me what is the purpose of using critical sections?

769


You have just been put in charge of a legacy code project with maintainability problems. What kind of things would you look to improve to get the project on a stable footing?

881


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

818


can a pointer be volatile ? Explain.

815


Describe a pattern that is not the factory pattern? How is it used and when?

833


Tell me why is java mostly used in embedded systems?

772


List out various uses of timers in embedded system?

831


A vast majority of high performance embedded systems today use risc architecture why?

1001


Do you know what is the function of watchdog timer in embedded system?

765