0
Why return0 is used in c++
2 ответов
+ 2
return -1; or any other value which is not 0: Something went wrong.
You can also ommit return 0; and it will be placed at the end of the main function automatically.
0
Return 0; inform computer that running of the program is completed correctly.