Pergunta de entrevista da empresa NVIDIA

What's the difference between a heap and stack?