Pregunta de entrevista de Morgan Stanley

what is the difference between stack and heap