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
Can a volatile be constant? Like
Suppose you buy some rtos, what are the features you look for in?
Which parameters decide the size of data type for a processor?
How to reduce function call overhead in arm based systems
Why are interfaces important?
What does malloc do? What will happen if we have a statement like malloc(sizeof(0));
How does inversion of control relate to dependency injection?
What is rtos in an embedded system?
What is null pointer and what is its use?
What is spin lock?
What is size of character, integer, integer pointer, character pointer?
Tell me can we put breakpoint inside isr?
What is difference between binary semaphore and mutex?
Differentiate between mutexes vs semaphores.
What happens when recursion functions are declared inline?