Page 1 of 1

What will be output if the following sequence of operations are executed?

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
Push(a,s);
Push(b,s);
Pop(b);
Push(c,s);
a) abc
b) b
c) ac
d) acb