A Memory Addressing, Binary, and Hexadecimal

Appendix B
C's Precedence Table
NOTE
This table contains every C operator. Some, most notably the bitwise operators, are not extensively covered in this book due to their esoteric nature. Nevertheless, no language's operator precedence table would be complete without a full listing of operators.
Precedence      
Level Symbol Description Associativity
1 ++ Prefix increment Left to right
  -- Prefix decrement  
  () Function call and subexpression  
  [] Array subscript  
  -> Structure pointer  
  . Structure member  
2 ! Logical negation Right to left
  ~ 1's complement  
  - Unary negation  
  + Unary plus  
  (type) Type cast  
  * Pointer dereference  
  & Address of  
  sizeof Size of  
3 * Multiplication Left to right
  / Division  
  % Modulus (integer remainder)  
     
continues

 



C by Example
C by Example
ISBN: 0789722399
EAN: 2147483647
Year: 1999
Pages: 43
Authors: Greg Perry

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net