Re:Why do arrays start at 0?
by bobthepanda on Wednesday August 24, 2022 @04:01PM
(#32584984)
Itβs an unsigned int, so past 0 it overflows back to the maximum
[ Parent
| on HN ]
Re:Why do arrays start at 0?
by 411111111111111 on Wednesday August 24, 2022 @04:03PM
(#32585022)
Ooh, i see. I wasn't aware that they under/overflow at 0 when they're unsigned. Thanks for broadening my horizon!