C++ Constructors Question:
Download Questions PDF

Which of the following are NOT provided by the compiler by default?

A. Zero-argument Constructor
B. Destructor
C. Copy Constructor
D. Copy Destructor

C++ Constructors Interview Question
C++ Constructors Interview Question

Answer:

Option D
Copy Destructor

Download C++ Constructors Interview Questions And Answers PDF

Previous QuestionNext Question
If the copy constructor receives its arguments by value, the copy constructor would

A. call one-argument constructor of the class
B. work without any problem
C. call itself recursively
D. call zero-argument constructor
Which of the following cannot be declared as virtual?

A. Constructor
B. Destructor
C. Data Members
D. Both A and C