Computer Science, asked by pathaktanya1511, 6 months ago

evaluate the following postfix expression using a stack and show the content of stack after execution of each expression true false true false not for true or a

Answers

Answered by mdshakoor332
2

Evaluation rule of a Postfix Expression states:

While reading the expression from left to right, push the element in the stack if it is an operand. Pop the two operands from the stack, if the element is an operator and then evaluate it. Push back the result of the evaluation.

Similar questions