+1 vote
in Data Structures & Algorithms I by (110k points)
While evaluating a prefix expression, the string is read from?

(a) left to right

(b) right to left

(c) center to right

(d) center to left to right

I'm obligated to ask this question of Application of Stacks topic in portion Application of Stacks of Data Structures & Algorithms I

I have been asked this question by my college professor while I was bunking the class.

1 Answer

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

Explanation: The string is read from right to left because a prefix string has operands to its right side.

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

...