![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
Q. |
What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero‐argument constructor? |
A. | Compile‐time error. |
B. | Preprocessing error. |
C. | Runtime error. |
D. | Runtime exception. |
Answer» A. Compile‐time error. |
View all MCQs in
Object Oriented Programming with C++ (OOP in C++)No comments yet