C Programming Fundamentals and Standard Specification

Casual Mode - Take your time!

1 / 25
Correct
0
Incorrect
0
Score
0%
Multiple Choice

int x = 0;
for ( ; ; )
{
if (x++ == 4)
break;
continue;
}
printf(x=%dn, x);

What will be printed when the sample code above is executed?

  1. x = 0
  2. x = 1
  3. x = 4
  4. x = 5
  5. x = 6
Change Mode