MathWorks interview question

Memory allocation in C.