Get Adobe Flash player

Saturday, January 14, 2012

Operator Precedence

An expression may contain a number of operators, variable and literals. A programmer must know how these operators are evaluated. Like other languages, each operator has it own priority. Operators are evaluated on the priorities allocated to them.  In most of cases, an expression is evaluated from left to right of the expression. Unary and assignment operators take right to left association.

operatorprecedence

0 comments:

Post a Comment