Overflow

Integers and floats can overflow is you try to use more bits than you have available.

Integer Overflow

Suppose 3 bits that allow us to count to 7 (000). If we try to count to 8 (1000) but only have 3 bits, then we will end up with 1000, or just 0. This is integer overflow.

Examples of integer overflow: