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

Cpp Programming Quiz 125 – Which of the following statement is correct regarding destructor of base class?

Question: Which of the following statement is correct regarding destructor of base class?
[A].Destructor of base class should always be static.
[B].Destructor of base class should always be virtual.[C].Destructor of base class should not be virtual.
[D].Destructor of base class should always be private.

Answer: Option B