Re:The C23 edition of Modern C is now available for free
by chongli on Wednesday October 16, 2024 @10:54AM
(#41859785)
K&R actually teaches this as a desirable idiom? People should not be recommending K&R to beginners today!
[ Parent
| on HN ]
Re:The C23 edition of Modern C is now available for free
by trealira on Wednesday October 16, 2024 @11:56AM
(#41860622)
Kernighan spends a page whittling strcpy down to just that, with various intermediate versions. After showing you that version, he describes it like this:
Although this may seem cryptic at first sight, the notational convenience is considerable, and the idiom should be mastered, because you will see it frequently in C programs.