Ruckus Networks interview question

stack vs heap , dynamic memory allocation resume