Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lokedhs
on Aug 25, 2022
|
parent
|
context
|
favorite
| on:
Why do arrays start at 0?
This is undefined behaviour, as a pointer is only allowed to point to valid addresses (as well as the index of the last element + 1, but it can't be dereferenced).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: