0
function of return 0
what is the function of return 0 in sample program?
3 Answers
+ 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!
+ 3
Search bar has lot of answers for this similarl question.. Use search bar for more and to avoid dublicates...
Hoping These may helps you......
https://www.sololearn.com/discuss/2182900/?ref=app
https://www.sololearn.com/discuss/1018521/?ref=app
https://www.sololearn.com/discuss/1748386/?ref=app
https://www.sololearn.com/discuss/2053622/?ref=app
https://www.sololearn.com/discuss/1803954/?ref=app
https://www.sololearn.com/discuss/1837877/?ref=app
https://www.sololearn.com/discuss/1867350/?ref=app
https://www.sololearn.com/discuss/1905095/?ref=app
https://www.sololearn.com/discuss/1673522/?ref=app
https://www.sololearn.com/discuss/2224109/?ref=app
- 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