+ 1
What us the use of 'return 0' in the code of hello world
2 Réponses
+ 2
The main function has return type int, returning 0 means the program terminated successfully, or as expected. A non-zero return type is usually used when the program terminated with an error
0
thanks