Suppose in an expression, all the operators are of the same precedence, then associativity helps to determine the order of expression. Almost all operators have Left to Right associativity. Some of them have Right to Left associativity.
3 + 2 + 1 #It has Left to Right associativity
Another example with Right to Left associativity:-
3 ** 2 ** 3 #It will solve first 2 ** 3
3 ** 8
Best learning portal that provides you great learning experience of various technologies with modern compilation tools and technique
Don't hesitate to give us a call or send us a contact form message