Vidyalelo
Data Structure · Q6

Stacks in Data Structures

Programming · Data Structure · question 6

Q6

What is the result of calling the pop operation on an empty stack?

A.
An error is thrown
Answer
B.
The stack returns null
C.
The stack remains unchanged
D.
It creates a new stack

Answer: Option A

Solution

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