Cadence Design Systems interview question

Explain memory managment in C++