Logic Eastern interview question

Relating to data structures and C /C++ language, previous projects, pointers, memory allocation, etc.