Amazon interview question

What's the difference between the stack and heap when they are initialized.