In case of evaluation of postfix expression , is the associativity always left to right?. If yes, why? If no, why?
Asked
Active
Viewed 387 times
3
-
2Your question isn't awfully clear, but if I got your drift then you need only think about the power function (which is a binary function of two numbers). – StoryTeller - Unslander Monica Jan 28 '14 at 13:39
-
Im trying to ask if a postfix expression is evaluated from left to right only? – user3202188 Jan 28 '14 at 13:42
-
1Depends if you write in latin or arabic :D – Drax Jan 28 '14 at 13:48
-
Yes. A postfix expression is evaluate from left to right only. The associativity and operator precedence are built-in to how the expression is notated. – user207421 Feb 11 '20 at 00:39
-
@meaning-matters Your link is about C operators, not postfix expressions. – user207421 Feb 11 '20 at 00:40
-
@user207421 What link? – meaning-matters Feb 11 '20 at 10:24