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

Cpp Programming 85 – Which of the following statement is correct?

Question: Which of the following statement is correct?
[A]. A constructor is called at the time of declaration of an object.
[B]. A constructor is called at the time of use of an object.[C]. A constructor is called at the time of declaration of a class.
[D]. A constructor is called at the time of use of a class.

Answer: Option A