Vidyalelo
Data Structure · Q149

Stacks in Data Structures

Programming · Data Structure · question 149

Q149

What will be output if the following sequence of operations are executed? Push(a,s); Push(b,s); Pop(b); Push(c,s);

A.
abc
B.
b
Answer
C.
ac
D.
acb

Answer: Option B

Solution

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