Question d’entretien chez Aselsan

Explain the difference between stack and heap allocation?