Vidyalelo
Data Structure · Q23

Stacks in Data Structures

Programming · Data Structure · question 23

Q23

What is the result of performing a pop operation on a stack that contains elements [5, 10, 15]?

A.
The stack becomes [5, 10]
B.
The stack becomes [5, 10, 15]
C.
The stack becomes [10, 15]
Answer
D.
The stack becomes [5]

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board