Pregunta de entrevista de Siemens

Difference between stack and heap (C++)