When an operand is read, which of the following is done?

Category: QuestionsWhen an operand is read, which of the following is done?
Editor">Editor Staff asked 2 months ago

When an operand is read, which of the following is done?
 
(a) It is placed on to the output
 
(b) It is placed in operator stack
 
(c) It is ignored
 
(d) Operator stack is emptied
 
Want answer

1 Answers
Editor">Editor Staff answered 2 months ago

Correct choice is (a) It is placed on to the output
 
The best I can explain: While converting an infix expression to a postfix expression, when an operand is read, it is placed on to the output. When an operator is read, it is placed in the operator stack.