0

why is it necessary to write return 0 then }

10th Jul 2016, 9:29 AM
Saptarshi Saha
Saptarshi Saha - avatar
2 Answers
+ 3
when we define functions with Int, it must have a return value, and if u don't want any value to be returned, we simply write return 0.
10th Jul 2016, 9:47 AM
Praneethkumar Sajalu
Praneethkumar Sajalu - avatar
0
it should return control over the program thread to the operating system
14th Jul 2016, 3:55 AM
aloy sen
aloy sen - avatar