C++Tutorial for Beginners 38 - Arithmetic Operators

Let's take a look at the arithmetic operators in C++, which include the familiar plus, minus and so on, plus the modulus oeprator. The division operator also behaves slightly oddly in C++; a fact which can catch out the unwary.

Click here to download source code for this tutorial.