Can anyone tell me why the definition of function comes after the main function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell me why the definition of function comes after the main function?

25th Mar 2019, 4:09 PM
NELOY GHOSH
2 Answers
+ 6
It is not necessary, you can define other functions before the main function too.
25th Mar 2019, 4:25 PM
Letsintegreat
Letsintegreat - avatar
+ 1
Oooo I see thanks
25th Mar 2019, 4:26 PM
NELOY GHOSH