Pregunta de entrevista de AMD

What is the difference between the stack and the heap?