Comment by layer8
15 hours ago
The idiomatic
void strcpy(char *s, char *t)
{
while (*s++ = *t++)
;
}
(straight from K&R) wouldn’t work without it.
15 hours ago
The idiomatic
void strcpy(char *s, char *t)
{
while (*s++ = *t++)
;
}
(straight from K&R) wouldn’t work without it.
Which many people find unreadable compared to other versions.