Library
Exercises
Games
Exams
Resources
Forum
News
Light
Log in
Sign up
Library
Exercises
Games
Exams
Resources
Forum
News
All courses
Library
Stacks and queues
The LIFO behaviour
MCQ
You push 1, then 2, then 3 in turn onto an empty stack. What does the first pop() return?
Possible answers
1
2
3
The stack is empty, nothing can come out
Log in to reply
Exercise 1 of 4
Next exercise
Report a mistake or suggest an improvement