Google News
logo
.Net - Interview Questions
What is the difference between a stack and a heap?
Stack Heap
Stored value type Stored reference type
A stack is responsible for keeping track of each executing thread and its location. The heap is responsible for keeping track of the more precise objects or data.
Advertisement