C++ Constructors Question: Download C++ Constructors PDF
Which of the following statement is correct about constructors?
A. A constructor has a return type.
B. A constructor cannot contain a function call.
C. A constructor has no return type.
D. A constructor has a void return type.
Answer:
Option C
A constructor has no return type.
A constructor has no return type.