📚 Practice Mode

C Programming Fundamentals and Standard Specification

Learn at your own pace with hints and detailed explanations

1 / 25
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