main function in C language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

main function in C language

What is the difference between the beginning of the main function and the end of the program?

26th Feb 2021, 8:43 PM
mohamad yavari
mohamad yavari - avatar
3 Answers
+ 12
mohamad yavari It is like Birth and Death.
26th Feb 2021, 9:10 PM
A͢J
A͢J - avatar
+ 10
Chicken is the main function and roast is the end
26th Feb 2021, 9:24 PM
JOY
JOY - avatar
+ 3
The main function is the smallest and most important function in C/C++ . Because all the functions are activated only after using main. That's why main function is call as entry point of entry language.
27th Feb 2021, 1:44 AM
Hrutik Bhalerao
Hrutik Bhalerao - avatar