Embedded Systems Question:
Download Questions PDF

Is it necessary to start the execution of a program from the main() in C?

Answer:

"Normally you are at liberty to give functions whatever
names you like, but ``main'' is special - your program
begins executing at the beginning of main. This means that
every program must have a main somewhere." Kernighan &
Ritchie - The C Programming Language 2ed. p.6

Download Embedded Systems Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between fifo and the memory?Write a code in C / Verilog to implement a basic FIR filter?