Consider the infix expression:
A+B* (C+D)/F+DE
The postfix notation of above expression is
O ABCD* + F/+DE+
O ABCD+ * F/+DE+
Answers
Answered by
0
Answer:
Thus before considering + which has the least priority, we get A+(BCD+∗F/)+(DE∗)
Now if we assume left associativity for + (default), we get ABCD+∗F/+DE∗+ but this is not among the options.
So, considering right associativity for + we get ABCD+∗F/DE∗++
Correct Answer: B
Similar questions
Math,
3 hours ago
Accountancy,
3 hours ago
Computer Science,
5 hours ago
Math,
5 hours ago
Math,
7 months ago