0

function of return 0

what is the function of return 0 in sample program?

9th May 2020, 12:35 PM
Het Dani
Het Dani - avatar
3 ответов
+ 6
Hey there mate, returning 0 means that you stopped program execution correctly ; ) Otherwise it shows some other (maybe -ve) number when it exit in incorrect way!
9th May 2020, 12:40 PM
A C K
A C K - avatar
- 2
Means to return nothing just do work like displaying an output and u get a 0 value if u use it as an object
9th May 2020, 12:39 PM
Abhay
Abhay - avatar