Question:
Write a function REVROW(int P[][5],int N, int M) in C++ to display the content of a two dimensional array, with each row content in reverse order.
For example, if the content of array is as follows:
| 15 | 12 | 56 | 45 | 51 |
| 13 | 91 | 92 | 87 | 63 |
| 11 | 23 | 61 | 46 | 81 |
The function should display output as:
51 45 56 12 15
63 87 92 91 13
81 46 61 23 81
C. Sir| Created: 8-Jan-2019 | Updated: 22-Mar-2026|CBSE12A-2015
