Using
Pop(S1, Item)
Push(S1,Item)
Read(Item)
Print(Item)
the variables S1 represents (stack) and Item are given the input file:
A,B,C,D,E,F <EOF>
Which stacks are possible:
A. |
5 A |
B. |
5 |
C. |
5 |
D. |
5 |
Answer : C Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |