name the two operations of stacka stack has only


Name the two operations of stack

A stack has only two operations and they are insertion and deletion of items. The operation insertion is called push (or push-down) as it can be thought of as result of pushing a new item on top. The deletion operation is known pop (or pop-up) because it can be thought of as result of removing one item so that stack pops up. In real, nothing is exactly pushed or popped in a computer stack. These operations are replicated by incrementing or decrementing stack pointer register.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: name the two operations of stacka stack has only
Reference No:- TGS0353817

Expected delivery within 24 Hours