Is main function compiled first..?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is main function compiled first..??

17th Feb 2019, 8:15 AM
¿°°ANONYMOUS™~
¿°°ANONYMOUS™~ - avatar
4 Answers
+ 2
Then the code is executed from main, but this goes after compilation.
17th Feb 2019, 8:59 AM
Maneren
Maneren - avatar
+ 1
Please give more information, I don’t understand.
17th Feb 2019, 8:35 AM
Rowsej
Rowsej - avatar
+ 1
No, the program is compiled from first line to last line, so the main is compiled ex. between others
17th Feb 2019, 8:55 AM
Maneren
Maneren - avatar
0
But what in case of calling functions... Is the main function compiled first..
17th Feb 2019, 8:58 AM
¿°°ANONYMOUS™~
¿°°ANONYMOUS™~ - avatar