MathWorks interview question

C++ basics, Data structures