Starting Out with C++ from Control Structures to Objects (8th Edition)
Starting Out with C++ from Control Structures to Objects (8th Edition)
8th Edition
ISBN: 9780133769395
Author: Tony Gaddis
Publisher: PEARSON
Question
Book Icon
Chapter 18, Problem 4RQE
Program Plan Intro

Stack:

A stack is type of container. It performs “Last In First Out”.

  • In stack, the item which is inserted at last will be retrieved first.
  • The elements can be inserted and retrieved at any one end of the stack.

Blurred answer
Students have asked these similar questions
What Operations Can Be Performed On Stacks?
Explain the difference between the limited and unbounded stacks.
Explain The Operation Of Stack.

Chapter 18 Solutions

Starting Out with C++ from Control Structures to Objects (8th Edition)

Knowledge Booster
Background pattern image
Recommended textbooks for you
  • Text book image
    Systems Architecture
    Computer Science
    ISBN:9781305080195
    Author:Stephen D. Burd
    Publisher:Cengage Learning
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning