Skip to main content
Source Link
palacsint
  • 30.4k
  • 9
  • 82
  • 157

A stack is a last in, first out (LIFO) abstract data type and data structure. Perhaps the most common use of stacks is to store subroutine arguments and return addresses.