+ 1
Difference between stack and heap ?
according to memory allocation, input and outpu etc.
1 Answer
+ 4
Traditionally the stack is where the the processor state is held. ie registers and processor pointers etc. Heap is where variables are pushed into main memory or cache to hold execution context.
Of course there are other meanings in context of programming algorithms