Pergunta de entrevista da empresa Bloomberg

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