Operators
Arithmetic Operators:
*, /, +, -, %
Relational Operators:
<, <=, >, >=, ==, !=
Assignment Operators:
=, +=, -=, *=, /=, ++, --
don’t abuse these, ie: o = --o - o--;
Logic Operators:
&&, ||, !
Bitwise Operators:
&, |, ~, >>, <<
Previous slide
Next slide
Back to first slide
View graphic version