MathWorks Interview Question

typecasting in C, dynamic memory allocation, typedef