Aselsan interview question

Explain the difference between stack and heap allocation?