Sollicitatievraag bij Samsung Electronics

Explain the difference between the stack and heap.