A

Admin • 833K Points
Coach

Q. 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

Explanation by: Admin

when an operator is encountered, the first two operands of the stack are popped, evaluated and the result is pushed into the stack.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.