Sponsor Area
NCERT Solutions for Class 12 Computer And Communication Technology Computer Science With C++ Chapter 1 C++ Revision Tour
C++ Revision Tour Here is the CBSE Computer And Communication Technology Chapter 1 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 C++ Revision Tour Chapter 1 NCERT Solutions for Class 12 Computer And Communication Technology C++ Revision Tour Chapter 1 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.
Write the type of C++ tokens (keywords and user-defined identifiers) from the following :
(i) For
(ii) delete
(iii) default
(iv) Value
(i) For - user defined identifier
(ii) delete - keyword
(iii) default - keyword
(iv) Value - user defined identifier
Look at the following C++ code and find the possible output(s) from the options (i) to (iv) following it. Also, write the maximum values that can be assigned to each of the variables R and C.
Note:
● Assume all the required header files are already being included in the code.
● The function random(n) generates an integer between 0 and n-1
void main()
{
randomize();
int R=random(3),C=random(4);
int MAT[3][3] = {{10,20,30},{20,30,40},{30,40,50}};
for(int I=0; I<R; I++)
{
for(int J=0; J<C; J++)
cout<<MAT[I][J]<<' ';
cout<<endl;
}
}
| (i) | (ii) |
| 10,20,30 20,30,40 30,40,50 |
10,20,30 20,30,40 |
| (iii) | (iv) |
| 10,20 20,30 |
10,20 20,30 30,40 |
Sponsor Area
Mock Test Series
Mock Test Series



