Precedence and Associativity of Operators

Precedence and Associativity of Operators



                     The operators we have learnt in the previous tutorials will be ambiguous if one or more operator is used in an expression, we don't know which one will get processed first and we cant expect the output. So to remove this ambiguity C specifies some precedence and associativity to every operator defined in C. The table below will show us this:




    Don't worry about the operators that are new, we shall discuss them in the following tutorials.

Previous
Next Post »