HARMAN interview question

Difference between stack and heap