ENEB340 Week05 Operators
ENEB340 Week05 Operators
ØArithmetic Operators
– unary and binary
– casting
ØAssignment
– shorthand notation
ØBitwise operators
ØPrecedence and associativity
Unary arithmetic operators
x1 or x2 x2=0 x2=1
x1=0 0 1
x1=1 1 1