int foo(int x) {
    int res = 0;
    return res = x++, x, ++x;
}
What is the value of the z variable when executing the following code?
int z = foo(0)

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes