Consider the stack | 5 | | 4 | | 3 | | 2 |. At this point, ‘*’ is encountered. What has to be done?

Consider the stack
| 5 |
| 4 |
| 3 |
| 2 |.
At this point, ‘*’ is encountered. What has to be done?
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
 

Tìm kiếm

Back
Top