Examveda

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

Answer: Option A


This Question Belongs to Data Structure >> Stacks In Data Structures

Join The Discussion

Related Questions on Stacks in Data Structures