Chuck Guzis wrote:
But what kind of person would use the given sample
loop, rather than
a library routine?
Someone wanting slightly different behavior. For instance, if they
wanted to copy a string into an array of ints rather than an array of chars.
There are any number of reasons why someone might look to an example in
*the* reference book on the language expecting to find useful code.