Pergunta de entrevista da empresa Bloomberg

What's the difference between the stack and the heap