when is a for statement initialization expression executed?
The general form of the for statement can be expressed as follows: When using this version of the for statement, keep in mind that: 1  The initialization expression initializes the loop; it's executed once, as the loop begins. 2  When the termination expression evaluates to false, the loop terminates.