+ 1

what is return 0used for..??

28th Aug 2016, 2:33 PM
dhanya
dhanya - avatar
2 Answers
+ 1
to say to your Operating System that everything in your program went ok...return 0 will only be executed if the program its ok at run time...if not will return 1...in other words a error
28th Aug 2016, 5:12 PM
Carlos Augusto Silva Gurgel
Carlos Augusto Silva Gurgel - avatar
+ 1
It's used to properly end the application or program.
29th Aug 2016, 4:08 AM
Spencer Wait
Spencer Wait - avatar