📊 C++
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.
💬 Discuss
✅ Correct Answer: (A) Compile‐time error.

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
214
Total Visits
📽️
1 y ago
Published
🎖️
Rakesh Kumar
Publisher
📈
88%
Success Rate