|
|
Copyright 1991 David Jurgens |
C Operators
Operation C Operator Associativity
Array [] ( ──► )
Function () ( ──► )
Member -> ( ──► )
Member . ( ──► )
Unary minus - ( ◄── )
Unary plus + ( ◄── )
Logical NOT ! ( ◄── )
Bitwise compliment ~ ( ◄── )
Address of & ( ◄── )
Indirection * ( ◄── )
Sizeof sizeof ( ◄── )
Increment ++ ( ◄── )
Decrement -- ( ◄── )
Cast (type) ( ◄── )
Multiplication * ( ──► )
Division / ( ──► )
Modulus % ( ──► )
Addition + ( ──► )
Subtraction - ( ──► )
Shift right >> ( ──► )
Shift left << ( ──► )
Greater than > ( ──► )
Greater or equal >= ( ──► )
Less than < ( ──► )
Less or equal <= ( ──► )
Equal == ( ──► )
Not equal != ( ──► )
Bitwise AND & ( ──► )
Bitwise XOR ^ ( ──► )
Bitwise OR | ( ──► )
Logical AND && ( ──► )
Logical OR || ( ──► )
Conditional ?: ( ◄── )
Simple assignment = ( ◄── )
Addition assignment += ( ◄── )
Subtraction assignment -= ( ◄── )
Multiplication assign *= ( ◄── )
Division assignment \= ( ◄── )
Modulus assignment %= ( ◄── )
Left shift assignment <<= ( ◄── )
Right shift assignment >>= ( ◄── )
Bitwise XOR assignment ^= ( ◄── )
Bitwise AND assignment &= ( ◄── )
Bitwise OR assignment |= ( ◄── )
Compliment assignment ~= ( ◄── )
Sequence operator , ( ──► )
- all operations grouped together have the same precedence
|
|
Esc or Alt-X to exit |
C operators |
Home/PgUp/PgDn/End ←↑↓→ |