For signed integers, continuous increment eventually overflows into negative values (undefined behavior in C++, but typically wraps to negative on most systems). For unsigned integers, overflow wraps to zero. For floating-point types, overflow becomes infinity. So the behavior depends entirely on the variable type.