Unisys interview question

C++ memory management , OOPS