But yes, the code is also quite different than in K&R which is relatively terse. See for example this comment in K&R about strcpy on print page 105 (page 119 of the PDF)[1], where after showing two versions of strcpy that are pretty readable and easy to follow, the book says:
> In practice, strcpy would not be written as we showed it above. Experienced C programmers would prefer
void strcpy(char *s, char *t)
{
while ((*s++ = *t++) != '\0')
;
}
Followed by a paragraph saying the condition could be simplified, and that> the function would likely be written as
void strcpy(char *s, char *t)
{
while (*s++ = *t++)
;
}
Make of that what you will :-)