Question:
Write a function REVCOL (int P[][5], int N, int M) in C++to display the content of a two dimensional array, with each column content in reverse order.
Note: Array may contain any number of rows.
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:
11 23 61 46 81 13 91 92 87 63 15 12 56 45 51
C. Sir| Created: 5-Jan-2019 | Updated: 22-Mar-2026|CBSE12D-2015
