C.1 Standard Rules

I l @ ve RuBoard

Table C-1. Standard C++ precedence rules

Precedence

Operators

1

( )

[ ]

->

.

 
 

::

::*

->*

.*

 

2

!

~

++

--

(type)

 

- (unary)

* (dereference)

     
 

& (address of)

sizeof

     

3

* (multiply)

/

%

   

4

+

-

     

5

<<

>>

     

6

<

<=

>

>=

 

7

==

!=

     

8

& (bitwise AND)

       

9

^

       

10

       

11

&&

       

12

       

13

?:

       

14

=

+=

-=

etc.

 

15

,

       
I l @ ve RuBoard


Practical C++ Programming
Practical C Programming, 3rd Edition
ISBN: 1565923065
EAN: 2147483647
Year: 2003
Pages: 364

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