Question

Which of the following is correct about C++ constructors?

A Can have a return type
B Has the same name as the class
C Must be called explicitly
D Cannot be overloaded
E Only one constructor is allowed per class
Practice Next

Hey! Ask a query