Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cm2187
on Aug 25, 2022
|
parent
|
context
|
favorite
| on:
Why do arrays start at 0?
I always assumed it started at zero otherwise you don’t use the full range of an unsigned integer and you can only have an odd number as your capacity (for whatever you use indexing for, not just RAM addressing).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: