Pregunta de entrevista de OneSpan

difference between stack and heap