Siemens Interview Question

Difference between stack and heap (C++)