0
Can the c++ program can run successfully without using [return 0]?
sometimes it workes and sometimes it doesn't
3 Answers
+ 1
Non void functions should return the value.
+ 1
Not writing return will not cause any problem
0
Instead of writing return 0 you can also write EXIT_SUCCESS;