Sponsor Area
NCERT Solutions for Class 12 Computer And Communication Technology Computer Science With C++ Chapter 8 Data Structure
Data Structure Here is the CBSE Computer And Communication Technology Chapter 8 for Class 12 students. Summary and detailed explanation of the lesson, including the definitions of difficult words. All of the exercises and questions and answers from the lesson's back end have been completed. NCERT Solutions for Class 12 Computer And Communication Technology Data Structure Chapter 8 NCERT Solutions for Class 12 Computer And Communication Technology Data Structure Chapter 8 The following is a summary in Hindi and English for the academic year 2025-26. You can save these solutions to your computer or use the Class 12 Computer And Communication Technology.
T[25][30] is a two dimensional array, which is stored in the memory along the row with each of its element occupying 2 bytes, find the address of the element T[10][15], if the element T[5][10] is stored at the memory location 25000.
LOC(T[10][15]) = LOC(T[5][10]) + 2(30*(10-5) + (15-10))
= 25000 + 2(150 + 5)
= 25000 + 2(155)
= 25000 + 310
= 25310
Write a definition for a function SHOWMID (int P[][5], int R, int C) in C++ to display the elements of the 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 the 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
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 the 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 |
Write a function ALTERNATE (int A[][3],int N,int M) in C++ to display all alternate element from two-dimensional array A (starting from A[0][0]).
For example:
If the array is containing:
| 23 | 54 | 76 |
| 37 | 19 | 28 |
| 62 | 13 | 19 |
The output will be:
| 23 | 76 | 19 | 62 | 19 |
Sponsor Area
Mock Test Series
Mock Test Series



