Tektronix Interview Question

Why would you make a destructor virtual in C++?

Interview Answer

Anonymous

Nov 1, 2015

So that instances of subclasses will have their destructors called.

1