MathWorks interview question

general C/C++, and MATLAB Questions