C++ Constructors Question:
Download Questions PDF

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

A. different
B. same
C. virtual
D. class

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

Answer:

Option B
same

Download C++ Constructors Interview Questions And Answers PDF

Previous QuestionNext Question
A function with the same name as the class, but preceded with a tilde character (~) is called __________ of that class.

A. constructor
B. destructor
C. function
D. object
__________ 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