Integers
Runtime Integer Values
However, once an integer value is no longer known at compile-time, it must have a known size, and is vulnerable to undefined behavior.
}
Operators such as +
and -
cause undefined behavior on integer overflow. Also available are operations such as +%
and which are defined to have wrapping arithmetic on all targets.
See also: