Please explain about my doubt

what is the meaning of “int row=1” at the line no. 10 in the program? why do we need to write this outside the loop?