Pergunta de entrevista da empresa General Atomics

What is the difference between the stack and the heap?