

InterviewSolution
Saved Bookmarks
1. |
What is the postfix expression of the given expression, (2*4-(5+7/3^4)-8)10?(a) 2 4 5 * 7 3 4 ^ / + 8 – – 10(b) 2 4 * ^ 5 7 3 4 / + 8 10 – –(c) 2 4 * 5 7 ^ 3 4 / + – 8 10 –(d) 2 4 * 5 7 3 4 ^ / + – 8 – 10The question was asked during an interview.This is a very interesting question from Trees topic in chapter Trees of Discrete Mathematics |
Answer» The correct answer is (d) 2 4 * 5 7 3 4 ^ / + – 8 – 10 |
|