Question d’entretien chez Leidos

What is the difference between stack and heap memory