+ 2

When we use int main in a program we put return( 0) in ending.where will the zero go in the program

21st Dec 2016, 11:18 AM
Kabeer
Kabeer - avatar
2 Respuestas
+ 6
The value 0 by main() is returned to the operating system signalling that the program has run successfully, i.e. EXIT_SUCCESS.
21st Dec 2016, 12:33 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
thnkzz bro
21st Dec 2016, 2:09 PM
Kabeer
Kabeer - avatar