Vidyalelo
Data Structure · Q30

Stacks in Data Structures

Programming · Data Structure · question 30

Q30

In a stack, what does the push operation do?

A.
Adds an element to the top of the stack
Answer
B.
Removes the top element from the stack
C.
Retrieves the top element without removing it
D.
Resizes the stack

Answer: Option A

Solution

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