Boston Scientific interview question

Heap vs Stack in Memory