New answers tagged


A stack is effectively an array -- it contains a bunch of words in contiguous memory, There is an important restriction -- it can only grow and shrink at one end (hence FILO -- First In Last Out) which is also LIFO. Important difference from array too: Processor stack is logically split into Frames, and (unlike arrays), each frame can be a different size ...

Top 50 recent answers are included