Well to print a row you would hold the row index constant and then vary the column from 0 - max_column...So to print a column you would hold a column constant and vary the row from 0 - row_max.
For row 2, i varies from 0 - max_column
my_arr[2][i]
for column 3, i varies from 0 - max_row
my_arr[i][3];
gerard4143
Nearly a Posting Maven
2,272 posts since Jan 2008
Reputation Points: 512
Solved Threads: 387