Pergunta de entrevista da empresa Aselsan

Explain the difference between stack and heap allocation?