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
What is inversion of control?
Tell me what are the different types of buses used by the embedded systems?
Explain me what is endianness of a system and how do different systems communicate with each other?
Explain me what are the different types of system involved in embedded system?
Explain what is semaphore?
Tell me what are buses used for communication in embedded system?
Infinite loops often arise in embedded systems. How does you code an infinite loop in c?
What is an anti-aliasing filter?
What is yagni? Is this list of questions an example?
Can you please explain the difference between mutexes vs semaphores?
Explain me what are the rules followed by mutexes?
What is a memory leak? What is a segmentation fault?
Can you name any code testing tools?
What is dma in an embedded system?
Tell me can we put breakpoint inside isr?