MathWorks Interview Question

Question on C++ involving virtual constructors and destructors