
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
One to one operator precedence table of c++ in one page.
Typology: Schemes and Mind Maps
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Precedence Operator Type Operators Associativity 1 Scope resolution :: Left-to-right 2 Postfix ++ -- () []. -> Left-to-right 3 Unary ++ -- + -! ~ * & sizeof Right-to-left 4 Pointer-to-member .* ->* Left-to-right 5 Multiplicative * / % Left-to-right 6 Additive + - Left-to-right 7 Shift << >> Left-to-right 8 Relational < <= > >= Left-to-right 9 Equality == != Left-to-right 10 Bitwise AND & Left-to-right 11 Bitwise XOR ^ Left-to-right 12 Bitwise OR | Left-to-right 13 Logical AND && Left-to-right 14 Logical OR || Left-to-right 15 Conditional ?: Right-to-left 16 Assignment = += -= *= /= %= <<= >>= &= ^= |= Right-to-left 17 Comma , Left-to-right