Consider the stack | 5 | | 4 | | 3 | | 2 |. At this point, ‘*’ is encountered. What has to be done?
Posted: Wed Jul 13, 2022 7:41 pm
a) 5*4=20 is pushed into the stack
b) * is pushed into the stack
c) 2*3=6 is pushed into the stack
d) * is ignored
b) * is pushed into the stack
c) 2*3=6 is pushed into the stack
d) * is ignored