0
A non-zero value (usually of 1) signals abnormal termination. Is it true for any larger programs?
As I tried {return 99} instead of {return 0} in some basic programs, I got the o/p as same as using {return 0}
1 Odpowiedź
0
return 0 means interrupt the program without any problem but if you use the -1 you should see an error in the compiler.