Basic operations

There are a few basic operations that you will need to use right from the start. Here's a list:

+: addition

-: subtraction

*: multiplication

/: division (note: if you divide by an integer, your result will be truncated down to the nearest integer.)

%: modulus - this operation gives you the remainder that results from the division of the first operand by the second. For example: 18 % 5 will give you 3 as a result

++: increment by 1. For example, i++ is equivalent to i = i + 1

--: decrement by 1.

see a C textbook/reference manual for many more...