0

return 1

return (anynumber):giveing same o/p even as return 0

29th Apr 2020, 5:28 AM
Bonam.Likitha Srilakshmi
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.
29th Apr 2020, 9:56 AM
Puthur Harthik