Pergunta de entrevista da empresa Leidos

What is the difference between stack and heap memory