Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming Quiz 133 – Which of the following statements is correct about the constructors and destructors?

Question: Which of the following statements is correct about the constructors and destructors?
[A]. Destructors can take arguments but constructors cannot.
[B]. Constructors can take arguments but destructors cannot.[C]. Destructors can be overloaded but constructors cannot be overloaded.
[D]. Constructors and destructors can both return a value.

Answer: Option B