What is stack and stack pointer?
A stack represents a set of memory blocks. The data is stored in and retrieved
from these blocks in an order. This order is called First In and Last Out (FILO).
Stack Pointer:
Stack pointer register is used to manage the stacks in memory. For example, undo
and redo operations in different application software are managed by stack.
|