Frage im Vorstellungsgespräch bei Aselsan

Explain the difference between stack and heap allocation?