

MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
1. |
What does the cerr represent? |
A. | Standard error stream |
B. | Standard logging stream |
C. | Input stream |
D. | Output stream |
E. | |
Answer» B. Standard logging stream | |
2. |
|
A. | Public members of the base class become protected members of derived class. |
B. | Public members of the base class become private members of derived class. |
C. | Private members of the base class become protected members of derived class. |
D. | Public members of the base class become public members of derived class. |
Answer» E. | |
3. |
|
A. | 5 5 10 10 |
B. | Garbage garbage 10 10 |
C. | 5 5 Garbage garbage |
D. | Garbage garbage Garbage garbage |
Answer» B. Garbage garbage 10 10 | |
4. |
|
A. | Error |
B. | size =Garbage |
C. | size =1 |
D. | Compile but no output |
Answer» D. Compile but no output | |
5. |
|
A. | 10 |
B. | 100 |
C. | Error |
D. | None of the above |
Answer» D. None of the above | |
6. |
|
A. | Compiles and runs fine |
B. | Compiler Error in Line "::t.get();" |
C. | Compiler Error: Cannot have two objects with same class name |
D. | Runtime error |
Answer» B. Compiler Error in Line "::t.get();" | |
7. |
|
A. | 12 12 |
B. | 12 4 |
C. | 8 4 |
D. | 8 8 |
Answer» D. 8 8 | |
8. |
|
A. | 0 |
B. | Garbage value |
C. | Runtime error |
D. | Complier error |
Answer» E. | |
9. |
|
A. | 1 |
B. | 2 |
C. | 4 |
D. | Error |
Answer» D. Error | |