Changes

Jump to: navigation, search

Objective-C 2.0 Operator Precedence

31 bytes added, 14:39, 27 May 2010
m
Objective-C Operator Precedence and Associativity
When addressing the issue of operator precedence in some scripting and programming languages, all that is generally required is a table listing the operators in order of precedence from highest to lowest. Objective-C has more in common with languages such as Java and C# in that operators are grouped together at different precedence levels. When operators from the same precedence level are found within the context of a single expression, a rule as to the order in which the operators are to be evaluated is followed. This rule is referred to as the ''associativity'' and differs from one group to the next. The following table outlines the operator precedence groups and corresponding associativity for Objective-C:
<google>ADSDAQBOX_FLOW</google>
<table cellspacing="1" cellpadding="5" border="0">
<tr align = center bgcolor = "#666666">

Navigation menu