Pergunta de entrevista da empresa CACI International

Explain the difference between the stack and heap