C/C++ supported expression operators

You can monitor an expression that uses the following operators only:

Operator Coded as
ngcpp.gif (202 bytes) Global scope resolution ::a
ngcpp.gif (202 bytes) Class or namespace scope resolution a::b
Subscripting a[b]
Member selection a.b or a->b
Size sizeof a or sizeof (type)
Logical not !a
Ones complement ~a
Unary minus -a
Unary plus +a
Dereference *a
Type cast (type) a
Multiply a * b
Divide a / b
Modulo a % b
Add a + b
Subtract a - b
Left shift a << b
Right shift a >> b
Less than a < b
Greater than a > b
Less than or equal to a <= b
Greater than or equal to a >= b
Equal a == b
Not equal a != b
Bitwise AND a & b
Bitwise OR a | b
Bitwise exclusive OR a ^ b
Logical AND a && b
Logical OR a || b