0
return 1
return (anynumber):giveing same o/p even as return 0
2 Answers
+ 4
As the format of code will be
int main{
\\body
return 0;
}
It is not like that we should use return 0 only. It means that we can actually return any integer, as we are using return type int for main function.
0
https://www.sololearn.com/discuss/2053622/?ref=app
https://www.sololearn.com/discuss/1867350/?ref=app
https://www.sololearn.com/discuss/1673522/?ref=app
https://www.sololearn.com/discuss/355420/?ref=app
https://www.sololearn.com/discuss/220394/?ref=app
https://www.sololearn.com/discuss/797593/?ref=app
https://www.sololearn.com/discuss/239589/?ref=app