MathWorks interview question

C/C++ and programming questions