function of return 0 | SoloLearn: Learn to code for FREE!


function of return 0

what is the function of return 0 in sample program?

5/9/2020 12:35:39 PM

Het Dani

3 Answers

New Answer


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!


Search bar has lot of answers for this similarl question.. Use search bar for more and to avoid dublicates... Hoping These may helps you......


Means to return nothing just do work like displaying an output and u get a 0 value if u use it as an object