Get complete courses at
Before we move on further with pointers in C++, we’d better take a closer look at ordinary arithmetic. The many possible options for doing ordinary arithmetical operations can seem a little confusing at first, as can the “modulus” operator, which not every can remember from school — although modulus is a part of ordinary arithmetic and us used unconsciously by all of us in many situations — working out how a period of minutes can be better expressed in hours and minutes, for example.