Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
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 Which stacks are possible: | |
A. | 54 3 F2 D1 B [Correct Answer] |
B. | 5 4 3 D2 A1 F [Wrong Answer] |
C. | 543 C2 E1 B [Wrong Answer] |
D. | 5 A4 B3 C2 D1 E [Wrong Answer] |