Consider the following code:
A B while (C) { D if (E) { F break; } G } H
Assume the loop breaks on iteration 1. Write out the the order in which the statements will execute.
Assume the loop breaks on iteration 3. Write out the the order in which the statements will execute.
Order:
A B C D E H
Order:
A B C D E F G C D E F G C D E H
Related puzzles: