Examveda

Pick out the correct statement.

A. A derived class's constructor cannot explicitly invokes its base class's constructor

B. A derived class's destructor cannot invoke its base class's destructor

C. A derived class's destructor can invoke its base class's destructor

D. A derived class's destructor can invoke its base & derived class's destructor

Answer: Option B


Join The Discussion

Related Questions on C plus plus miscellaneous

What is the difference between '++i' and 'i++' in C++?

A. None of the above

B. They both have the same effect

C. '++i' increments the value of 'i' before returning it, while 'i++' increments the value of 'i' after returning it

D. '++i' increments the value of 'i' after returning it, while 'i++' increments the value of 'i' before returning it