

MCQOPTIONS
Saved Bookmarks
1. |
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 |
B. | 5 4 3 D2 A1 F |
C. | 543 C2 E1 B |
D. | 5 A4 B3 C2 D1 E |
Answer» B. 5 4 3 D2 A1 F | |