Pergunta de entrevista da empresa NiCE

What's the difference between heap and stack? What's the difference between thread and process?