Kinaxis interview question

memory management in c++