05-01-2015 04:02 PM
If you use nested loops to create a 2d array. Which loop creates the rows and which loop creates columns?
05-01-2015 04:08 PM
Do the experiment (write a double-nested loop, take the inner-most index and bring it out). You'll see that the Outer loop gives you rows, the Inner loop gives you columns.
Bob Schor