Bloomberg interview question

How work with memory in C++ and differences between stack and heap