World Languages, asked by gudlaprasanna2000, 5 hours ago

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 pakhi6336
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