swapping 2 numbers in 2 dimensional array
<p>My question is as follows:</p>

<p>Refer to the following array declaration in the main():</p>

<pre><code>const int size = 4;
int x[size][size] = {{1, 2, 3, 4}, {5, 6, 7, 8},
  {9, 8, 7, 3}, {2, 1, 7, 1}};
</code></pre>

<p>Write a function SwapRows() to swap two rows of the above 2D array. For
example, if the function has been called to swap the first and the second rows of the
above 2D array then the result would be that the first row now becomes {5, 6, 7, 8}
and the second row now becomes {1, 2, 3, 4}. The function receives as parameter the
2D array, the size of the array, and two integers to indicate the rows to swap.</p>

<p>Help,,how can i go about this?????
Note: Using C++ Language</p>
