OneSpan interview question

difference between stack and heap