Printing of Rows and Columns

Unable to understand when to print which row and which column
E.g : arr[top][i];
unable to understand, please help me out with the problem

it similar to reversing an array
for any row i
j is at 0 index and k is at array length-1
just swap elements
and increase j and decease k simultaneously
this process will continue till middle index after that it will terminate