best method for swapping rows in 2d array? : i want to do this in C++ code that initializes an array with 4 rows and 5 columns. The program asks user about two row numbers in the range 0 to 4.  After that the program must be able to swap the rows defined by the user in a 2D array.
