+ 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 ?

28th Sep 2018, 2:52 PM
Khaled Wins
Khaled Wins - avatar
9 Antworten
0
If you have a int main() routine you can return 0 to see that no error happened during the process
28th Sep 2018, 3:18 PM
Matthew Stahlke
Matthew Stahlke - avatar
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
28th Sep 2018, 3:54 PM
Bebida Roja
Bebida Roja - avatar
0
Supriya Gangapatnam In any function returning void you can use return; to end the function. Thats just what i meant to say.
28th Sep 2018, 3:59 PM
Bebida Roja
Bebida Roja - avatar
0
Hi
28th Sep 2018, 4:37 PM
Aamuly Ammu
Aamuly Ammu - avatar
0
6304201060. please call me emergency I know patient please call me
28th Sep 2018, 4:39 PM
Aamuly Ammu
Aamuly Ammu - avatar
0
my WhatsApp number
28th Sep 2018, 4:39 PM
Aamuly Ammu
Aamuly Ammu - avatar