C++20 sections · 1024 units
Open in Course

Quiz: for Loop Structure

Test understanding

Check Your Understanding

In for (int i = 0; i < 5; i++), when does i++ execute?

  1. A.Before the loop body runs
  2. B.Before the condition is checked
  3. C.Only on the last iteration
  4. D.After the loop body completes
Start the roadmap to answer the quizzes and solve the challenges