|
Arithmetic and Comparison OperatorsFrom highest to lowest precedence, ^ raise to power
Any binary operator may be prefixed to = to produce an increment operator; thus x*=5 is equivalent to x=x*5. Also, ++x and --x are equivalent to x+=1 and x-=1, respectively. Finally, x++ and x-- increment or decrement x by 1, but return the value of x before the operation. |