+1 vote
in Data Structures & Algorithms I by (110k points)
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 Answer

+1 vote
by (444k points)
selected by
 
Best answer
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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...