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
Tell me what is rtos?
What is the function of simple thread poll in embedded system?
Explain what are the essential components of embedded system?
What is the need for dmac in es?
Have you designed ui, user interface?
What is pass by value and pass by reference? How are structure passed as arguments?
What is an anti-aliasing filter?
What is the significance of watchdog timer in es?
Are you still writing code? Do you love it?
What kinds of problems can you hit with lockless model?
Which is the best way to write loops?
How might a task-based model differ from a threaded model?
How does the interrupts handle by using the threads?
How are variables mapped across to the various memories by the c compiler?
List out various uses of timers in embedded system?