Programming - Constructor - Discussion

You Are Here :: Home > C++ Language > Constructor - Discussion

 



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: Option A
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion