dcsimg

If a continue statement is used within a for loop, is the test or iteration statement executed next?

John Zukowski

The third statement in the for loop, or the iteration statement is executed after a continue statement is used within a for loop. After the iteration statement is executed, the test condition is executed to see if the loop body should be repeated.