Re:Why do arrays start at 0?
by bregma on Wednesday August 24, 2022 @02:42PM
(#32583919)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.