Y
Hacker News
new
|
ask
|
show
|
jobs
by
bregma
1393 days ago
In the C programming language unsigned integers do not overflow. They wrap. This is well-defined behaviour and the example code is simply incorrect. Most modern compilers will give you a diagnostic for this.