Skip to content

Glossary: C Basics

Integer division

Using `/` on two whole numbers throws away the fraction, so 7 / 2 is 3. Cast one side to double to keep the fraction.

Where the book teaches it

Related terms

RemainderCast