HARMAN Interview Question

Some questions relating to memory allocation..