K
Multiple choices 24/50
A 4
B. 2
C 6
D. 3
(Choose 1 answer)
When the series of stack operations below is performed on an empty stack, which of the following is the data that is read out by the last READ operation? Here, "PUSH x" is the operation to put data x in the stack, "POP"is used to retrieve data from the stack, and "READ" is used to read data from the top of the stack without removing the original data.
PUSH 2-READ
PUSH 3
PUSH 6-POP
POP
READ
READ
PUSH 5
POP
PUSH 4
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
43 44 45 46 47 48 49 50
PUSH 7-
READ