Panasonic Interview Question

memory allocation questions using c++