Ans: Stack: 



                Stack can be considered as a storage method in within th items are stored in consecutive memory locations and the last element stored in the first element  retrived. Also LIFO(last in first out) list. You can visualize a stock as the number of plates or books placed one above the other. When you want to place a new plate, you will place on the top of the remaining plates. When you want to withdraw a plate, you will take out the topmost plte first. That is the plate last kept is the first taken out or last in first out. Stack may be a finite number of reg isters bundled together or stack can alos be part  o fmemory unit. An address register called stack pointer contains the address of the recently stored element. Remember that this the element which will be first retrieved. Stack pointer always points to the topmost elements in the stack. 

Like Us On Facebook

Popular Posts