Siemens Interview Question

Differences between stack and heap memory?