C++ Constructors Question:
Download Questions PDF

__________ used to make a copy of one class object from another class object of the same class type.

A. constructor
B. copy constructor
C. destructor
D. default constructor


Option B
copy constructor

Download C++ Constructors Interview Questions And Answers PDF

Previous QuestionNext Question
A union that has no constructor can be initialized with another union of __________ type.

A. different
B. same
C. virtual
D. class
It is a __________ error to pass arguments to a destructor.

A. logical
B. virtual
C. syntax
D. linker