ZTE interview question

the difference between the stack and heap