Domanda di colloquio di BAE Systems USA

Difference between stack and heap?