Skip to content

Glossary: C Basics

Remainder

Also written: modulo, %

What `%` gives: the amount left over after dividing, so `7 % 3` is 1. For example, `cents % 100` gives the cents part of a price.

Where the book teaches it

Related terms

Integer division