Question:
Write definition for a function SHOWMID(int P[][5],int R,int C) in C++ to display the elements of middle row and middle column from a two dimensional array P having R number of rows and C number of columns.
For example, if the content of array is as follows:
| 115 | 112 | 116 | 101 | 125 |
| 103 | 101 | 121 | 102 | 101 |
| 185 | 109 | 109 | 160 | 172 |
The function should display the following as output :
103 101 121 102 101
116 121 109
C. Sir| Created: 10-Jan-2019 | Updated: 25-Feb-2019|CBSE12D-2016
