Siemens interview question

Differences between stack and heap memory?