0
What will be the output of the function if it gets called? int func(){ cout<<1; return 2; cout<<3; }
And how.. please tell
3 Réponses
+ 4
1
+ 4
function prints 1 on screen, but returns 2.
Function always stops running after returning any thing.
+ 3
1
because of return 2