eG Innovations interview question

for C++ they need deep understand about the pointer and memory allocation