+ 1

from where does the execution of code starts

from where does the execution of code starts does it start from main method or from preproceesor functions

16th Jan 2017, 7:29 AM
Mubashshir Taiba
Mubashshir Taiba - avatar
3 odpowiedzi
+ 5
The code starts from the main method. Even if you place functions and stuff above main, main will be processed first. The functions and stuff will only be processed when needed.
16th Jan 2017, 9:29 AM
Wen Qin
Wen Qin - avatar
+ 1
it starts from preprocessor function i think so
16th Jan 2017, 7:29 AM
Mubashshir Taiba
Mubashshir Taiba - avatar
0
from the main, the main class is the one that declares this is the start of your program
16th Jan 2017, 9:21 AM
Tuchy
Tuchy - avatar