Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mononcqc
on Aug 21, 2009
|
parent
|
context
|
favorite
| on:
Dijkstra: Why numbering should start at zero
Please re-read his question: "how many chars we have?" "how many elements we have?"
ch[1] = 0; ch[2] = 1; ch[3] = 2; ... ch[10] = 9;
This is about having the Nth element of the array with the index N rather than N-1.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: