Domanda di colloquio di General Atomics

What is the difference between the stack and the heap?