Pergunta de entrevista da empresa Nutanix

Difference between stack and heap