eG Innovations Interview Question

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