+ 2
Please am still not familiar with the (return 0)at the end of the function
C++
4 Respuestas
+ 2
Return in main() is considered exit status of a program. When main() return 0, It means that it executed successfully. It will return other values when something is wrong.
+ 2
Returns a value of zero and program control back to the point of invocation of the function.
0
To show the main function has successfully executed......
0
of course... it terminates the program if successful