answersLogoWhite

0

A stack is a special type of storage device or method in which the data entered first on the accessed is last.The principal of last in first out (LIFO).Staack is a memory unit with an adress register then it can count only and is known as stack pointer as it hold address fot the stack
A stack is a data structure which accepts items (like numbers or strings) in sequence, and returns them in reverse order.

A stack is initially empty; clients can PUSH items onto the stack, and can query the stack to see whether it is empty. Clients can also POP items off the top of the stack to retrieve whatever was mostly recently PUSHed. It is an error to attempt to POP an item from an empty stack. Often a stack will be of less than infinite size, and will raise an error if attempts are made to PUSH more than some maximum number of items without enough POPs to relieve the memory pressure.

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

Explain following organization of CPU- A. single accumulator organization B. general registers organization c. stack organization?

a stack can be considered as a storage method in which then items are stored in consecutive memory loacations and the last element stored is the first element retrived ,also calles LIFO(last in First Out)list. you can visulise a stack as the number of plates placed one avove the other,when you want to place a new plate.you will place on the top of the reamining plates,when you want to withdraw a plate,you will out of the topmost plate first,that is the plate last kept is the first taken out or last in first out ,


What are the benefits of using a video stack for managing and organizing multimedia content?

Using a video stack for managing multimedia content offers benefits such as efficient organization, easy access to files, streamlined collaboration, and enhanced security.


What are different types of CPU organizations?

thay are ...1.One bus org 2.two bus org 3. 3 bus org


What are the benefits of using a washer stacking kit to stack a washer and dryer in a laundry room?

Using a washer stacking kit to stack a washer and dryer in a laundry room can save space, improve organization, and make it easier to access and use both appliances.


What is implicit stack?

A stack created by the user or a programmer is an implicit stack


What is the function of a stack pointer?

Stack pointer points to the topmost / most recently referenced location on the stack; - Nutan


How much in a stack?

$1000 in a stack


How do you use the word stack in a sentence?

Stack these boxes over there, please.There was a stack of cards sitting on the table.


What has the author Gael Stack written?

Gael Stack has written: 'Gael Stack' 'Gael Stack' -- subject(s): Themes, motives


Can stack be as a pointer?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.


How is the stack and stack pointer work?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.


What is stack in ilocano?

Stack in Ilocano is "pundar".