Panasonic interview question

memory allocation questions using c++