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
When do you know your code is ready for production?
What's your experience with qa engineering?
Explain the characteristics of embedded system?
Explain what is the difference between mutexes and semaphores?
What are the advantages and disadvantages of separation of concerns?
What are the commonly found errors in embedded systems?
Tell me what is the purpose of using critical sections?
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?
What are the most common errors you've found in embedded systems?
can a pointer be volatile ? Explain.
Describe a pattern that is not the factory pattern? How is it used and when?
Tell me why is java mostly used in embedded systems?
List out various uses of timers in embedded system?
A vast majority of high performance embedded systems today use risc architecture why?
Do you know what is the function of watchdog timer in embedded system?