+1 vote
in Data Structures & Algorithms I by (110k points)
In infix to postfix conversion algorithm, the operators are associated from?

(a) right to left

(b) left to right

(c) centre to left

(d) centre to right

The above asked question is from Application of Stacks topic in section Application of Stacks of Data Structures & Algorithms I

I have been asked this question by my school principal while I was bunking the class.

1 Answer

+1 vote
by (408k points)
selected by
Best answer
The correct option is (b) left to right

For explanation: In infix, prefix and postfix expressions, the operators are associated from left to right and not right to left.

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.