Assume that the operators +,−,× are left associative and ^ is right associative. The order of precedence (from highest to lowest) is ^,×,+,−. The postfix expression corresponding to the infix expression a+b×c−d^e^f is
A) abc*+def^^-
answer is above option but i f I do infix to postfix conversion then i get abc*+de^f^- because in stack its giving ^^ at a time then because of same precedeence I put ^ first ....where am i wrong?