Pergunta de entrevista da empresa HARMAN

Difference between stack and heap