4 ms·
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
by pcwalton 2y 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).
- Maxatar 2y agoFrom what I see, that book was published in 1988.
- frumplestlatz 2y agoThe language has evolved significantly, and we’ve learned a lot about how to write safer C, since that was published in 1988.