why int main() is situated in the middle of the code ,but nor in the start of the code ,and it’s correct??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why int main() is situated in the middle of the code ,but nor in the start of the code ,and it’s correct???

https://code.sololearn.com/cDNtq9ANVJgV/?ref=app

1st Dec 2020, 9:53 AM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar
4 Answers
+ 3
int main() could be wherever int the code ....Doesnt make any difference.. The compiler will starts executing from main() that means the System finds the main() and execute from there to rest of the functions and all......
1st Dec 2020, 10:00 AM
Alphin K Sajan
Alphin K Sajan - avatar
0
bro ,do you what is it(x_to_the_n)???
1st Dec 2020, 10:08 AM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar
0
do you know?
1st Dec 2020, 10:08 AM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar
0
thanks❤️
1st Dec 2020, 12:27 PM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar