Pergunta de entrevista da empresa ASSET Technology Group

what is the difference between heap and stack?