Programming Languages C++ Objective
Mar 20, 2013

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?

 

Choose the correct answer:
A) Compile-time error.
B) Preprocessing error.
C) Runtime error.
D) Runtime exception.
Detailed Explanation

Option A is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback