MathWorks Interview Question

Phone interview: basic c++ concept, MATLAB function