+ 2
How return statement works?
In c, what happen if the return statement followed by number which is other than 0 when main function calls?
3 Answers
+ 10
In C programming, return 0 statement tell the called function that the called function have returned a success status. Any other value, positive, negative, notifies some sort of failure & requires Immediate attention of the programmer. Generally 1 value specify a failure return condition from a function.
-------------------------------------------------
Hope you got the answer
0
Probably nothing...