Embedded Systems Question: Download Embedded Systems PDF

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

Tweet Share WhatsApp

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 PDF Read All 18 Embedded Systems Questions
Previous QuestionNext Question
What is the difference between fifo and the memory?Write a code in C / Verilog to implement a basic FIR filter?