Domanda di colloquio di NVIDIA

What is the difference between heap and stack?