AssociativityAssociativity describes the rule where operators with the same precedence appear in an expression. For example, in expression a b − c, both and – have the same precedence, then which part of the expression will be evaluated first, is determined by associativity of those operators. Here, both and − are left associative, so the expression will be evaluated as (a b) − c.Precedence and associativity determines the order of evaluation of an expression. Following is an operator precedence and associativity table (highest to lowest) − - Study24x7
Social learning Network
22 Mar 2019 10:47 AM study24x7 study24x7

Associativity

Associativity describes the rule where operators with the same precedence appear in an expression. For example, in expression a + b − c, both + and – have the same precedence, then which part of the expression will be evaluated first, is determined by ass...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles