MathWorks interview question

Dynamic memory allocation in C, pointers, arrays, functions.