MathWorks interview question

C++ basics, intermedaries