Remerge interview question

What are the differences between allocating in the heap vs stack?