Step Into Labs

Step Into C · Lesson 3 · Foundations

Operators & Expressions

Arithmetic, integer division, casts, overflow and increment operators.

Part of Step Into C. The full lesson, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.

C has the usual arithmetic operators: +, -, *, /, and % (remainder, also called *modulo*).

In this lesson

Missions

  1. Divide and remainder
  2. Real division
  3. Wrap around
  4. Pre vs post