 |
» |
|
|
|
Table 5-15 C Operators Symbol | Meaning |
|---|
| ! | logical negation | | != | inequality | | % | remainder | | & | AND (bitwise) and address-of | | && | AND (logical) | | () | cast and function call | | * | multiplication and indirection | | + | addition and unary plus | | ++ | increment, prefix or postfix | | , | comma | | - | subtraction and unary minus | | -- | decrement, prefix or postfix | | -> | structure/union pointer (arrow) | | . | structure/union member (dot) | | / | division | | < | less-than | | << | left-shift | | <= | less-than-or-equal-to | | = | assignment | | == | equality | | > | greater-than | | >= | greater-than-or-equal-to | | >> | right shift | | ?: | conditional | | [ ] | subscript | | ^ | OR (bitwise exclusive) | | | | OR (bitwise inclusive) | | || | OR (logical) | | ~ | complement | | op= | assignment, compound | | sizeof | compute object size at translation-time |
|