0
Why do we have to mention 'return 0' in c++ @ the end of main function....what if we return other values...
2 Answers
+ 1
Programs are supposed to return 0 in order to let the OS know there were no errors. Returning other values are meant to signal errors.
0
but returning other values is also giving me wid right output....<-_->