MathWorks interview question

C++ OO concepts