R

Rakesh Kumar • 28.44K Points
Instructor II

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.
  • Correct Answer - Option(A)
  • Views: 29
  • Filed under category C++

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics