Three clauses in the header

The header of a for loop contains three clauses surrounded by parentheses and separated by semicolons.

The three clauses appear in the following order from left to right (top to bottom in Listing 1):