+1 vote
in Data Structures & Algorithms I by (110k points)
The result of the postfix expression 5 3 * 9 + 6 / 8 4 / + is _____________

(a) 8

(b) 6

(c) 10

(d) 9

My doubt is from Application of Stacks in division Application of Stacks of Data Structures & Algorithms I

I have been asked this question in an interview.

1 Answer

0 votes
by (408k points)
Right option is (b) 6

The best explanation: Given postfix expression:  5 3 * 9 + 6 / 8 4 / +

Result = 5 3 * 9 + 6 / 8 4 / +

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

...