A column counter named cCnt

The inner for loop, shown by the first three lines in Listing 2, initializes a column counter named cCnt and then updates it once at the end of each iteration of the inner loop.

The column counter is declared and initialized to a value of 0 by the initialization clause of the inner for loop.

The update clause increments the column counter by a value of 1 at the end of each iteration of the inner loop.

According to the conditional clause, the inner loop will continue to iterate for as long as the column counter is less than the value of colLim, which was set to 5 in Listing 1.