0

Why we use " return 0; "in c program?

Tell me anyone...pls

25th Dec 2018, 6:24 AM
KARTHIK TELU
KARTHIK TELU - avatar
2 Answers
+ 5
25th Dec 2018, 6:30 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 2
It indicates that the program ended successfully, i case something where to go wrong(exceptions) then you could return other values i.e (return 1;)
25th Dec 2018, 6:52 AM
Mensch
Mensch - avatar