Hacker News new | ask | show | jobs
by pcwalton 448 days ago
The first example program that demonstrates arrays in The C Programming Language 2nd edition (page 22) uses signed integers for both the induction variable and the array length (the literal 10 becomes int).
2 comments

The language has evolved significantly, and we’ve learned a lot about how to write safer C, since that was published in 1988.
From what I see, that book was published in 1988.