Vidyalelo
Data Structure · Q43

Stacks in Data Structures

Programming · Data Structure · question 43

Q43

What is the maximum number of elements that can be held in a stack if it has a capacity of 20 and 5 elements are pushed and then 3 elements are popped?

A.
22
B.
17
C.
15
D.
20
Answer

Answer: Option D

Solution

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