+ 1
return 0;
hi i cannot understand why they add return 0; to methods which they return nothing ! is this return 0; important or i don't need to use it anymore ?
6 Answers
0
If you have a int main() routine you can return 0 to see that no error happened during the process
0
Supriya Gangapatnam Then you need to use "return;" not to end when the main function ends, i.e. when you want to stop it manually
0
Supriya Gangapatnam In any function returning void you can use return; to end the function. Thats just what i meant to say.
0
Hi
0
6304201060. please call me emergency I know patient please call me
0
my WhatsApp number