Skip to the task
Layout
Back to classic view

You are looking at: Practice test 1. Your place is still lesson 11, task 1: fopen.

CHECKTask 6 of 17 · step 2: Questions 1–6

Where does the while stop?

What does it print?

int i = 10;
while (i > 0) {
    i -= 3;
}
printf("%d\n", i);
Stuck?

-2: 10 → 7 → 4 → 1 → -2. The loop stops only when the condition is false. (Topic 3)