Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
a1369209993
on Nov 23, 2020
|
parent
|
context
|
favorite
| on:
What is your favorite C programming trick? (2009)
Appropos of this, the idiomatic (!= obvious, sadly) way to iterate backwards over a array:
for(size_t i=N; i-- > 0 ;) do_stuff_with(&a[i]);
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: