Domanda di colloquio di Everi

What’s the difference between the heap and the stack?