Pregunta de entrevista de HP Inc.

What is the difference between a stack and heap?