Pergunta de entrevista da empresa Siemens

Differences between stack and heap memory?