What will be the sequence of elements removed from the stack after performing the following operations
PUSH(10)
PUSH(20)
POP()
POP()
PUSH(30)
PUSH(40)
POP()
POP()
(A) 10
(B) 20
(C) 30
(D) 40
Choose the correct sequence from the options given below:
1
(A), (B), (C), (D)
2
(B), (A), (D), (C)
3
(A), (B), (D), (C)
4
(B), (A), (C), (D)