Original Post
Hi there.. i am wondering how (or what) is the best way to reverse a 2D array..not just reverse the numbers but reverse the rows: for instance lets say i have a 5 x 4 2D array: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 the result i am looking for is: 16 17 18 19 20 11 12 13 14 15 6 7 8 9 10 1 2 3 4 5 i had thought about using 2d array through indexing but thought pointers might be easier.. any thoughts?