

MCQOPTIONS
Saved Bookmarks
This section includes 14 Mcqs, each offering curated multiple-choice questions to sharpen your C++ Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
What is the output of this program?
|
A. | Mania |
B. | Interview Mania |
C. | M Interview Mania |
D. | Interview |
E. | None of these |
Answer» D. Interview | |
2. |
What is the output of this program?
|
A. | 15 |
B. | 25 |
C. | 50 |
D. | -2 |
E. | -50 |
Answer» F. | |
3. |
What is the output of this program?
|
A. | 11 |
B. | 12 |
C. | 15 |
D. | Compilation Error |
E. | Garbage value |
Answer» E. Garbage value | |
4. |
What will be the output of the this program?
|
A. | 70 |
B. | 40 |
C. | 30 |
D. | 184 |
E. | 148 |
Answer» F. | |
5. |
What will be the output of this program?
|
A. | 806 |
B. | 150 |
C. | 130 |
D. | 13 |
E. | 15 |
Answer» B. 150 | |
6. |
What is the output of this program?
|
A. | 41 |
B. | 15 |
C. | 61 |
D. | 27 |
E. | None of these |
Answer» E. None of these | |
7. |
What is the output of this program?
|
A. | Red |
B. | Blue |
C. | Green |
D. | Yellow |
E. | reen |
Answer» F. | |
8. |
What is the output of this program?
|
A. | 13, 16, 19, 11, 18, 13, 22, 26 |
B. | 18, 13, 22, 26 |
C. | 13, 16, 19, 11, 18 |
D. | 19, 11, 18, 13 |
E. | 18 22 13 |
Answer» F. | |
9. |
What is the meaning of the following declaration?
|
A. | p is pointer to array of function |
B. | p is pointer to function |
C. | p is array of pointer to function |
D. | p is pointer to such function which return type is the array |
E. | None of these |
Answer» D. p is pointer to such function which return type is the array | |
10. |
Which of the following accesses the ninth element stored in array? |
A. | array; |
B. | array[8]; |
C. | array[7]; |
D. | array(10); |
E. | None of these |
Answer» C. array[7]; | |
11. |
What is the index number of the last element of an array with 12 elements? |
A. | 1 |
B. | 2 |
C. | 11 |
D. | 10 |
E. | Programmer-defined |
Answer» D. 10 | |
12. |
What will be the output of the this program? |
A. | 70 |
B. | 40 |
C. | 30 |
D. | 184 |
E. | 148 |
Answer» F. | |
13. |
What will be the output of this program? |
A. | 806 |
B. | 150 |
C. | 130 |
D. | 13 |
E. | 15 |
Answer» B. 150 | |
14. |
What is the meaning of the following declaration? |
A. | p is pointer to array of function |
B. | p is pointer to function |
C. | p is array of pointer to function |
D. | p is pointer to such function which return type is the array |
E. | None of these |
Answer» D. p is pointer to such function which return type is the array | |