Pergunta de entrevista da empresa Avenga

Q: What are the differences between heap and stack?