

MCQOPTIONS
Saved Bookmarks
This section includes 4 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 is the size of empty class? |
A. | 0 |
B. | 2 |
C. | 4 |
D. | 1 |
E. | |
Answer» E. | |
2. |
When Virtual Table is created? |
A. | Every Class has VTable |
B. | Class inherited from other Class |
C. | Class has atleast one Virtual Function |
D. | When a Class Overrides the function of Base class |
Answer» D. When a Class Overrides the function of Base class | |
3. |
Which operator can not be overloaded? |
A. | + |
B. | :: |
C. | - |
D. | * |
Answer» C. - | |
4. |
Which of the following is not correct (in C++) ?i) Class templates and function templates are instantiated in the same wayii) Class templates differ from function templates in the way they are initiatediii) Class template is initiated by defining an object using the template argumentiv) Class templates are generally used for storage classes. |
A. | i |
B. | i & ii |
C. | ii ,iii, iv |
D. | iv |
Answer» D. iv | |