3rd Oct 2020, 3:21 PM
Prashant Pandey
Prashant Pandey - avatar
3 ответов
+ 6
Because foo(num--) passes num's original value to the function foo before decrementing variable num.
3rd Oct 2020, 3:26 PM
Seb TheS
Seb TheS - avatar
+ 1
Thanks
3rd Oct 2020, 3:27 PM
Prashant Pandey
Prashant Pandey - avatar
0
Function 'foo' has void return type, yet you return something in its body.
3rd Oct 2020, 5:34 PM
Ipang