3 ms·
K&R actually teaches this as a desirable idiom? People should not be recommending K&R to beginners today!
by chongli 2y ago
K&R actually teaches this as a desirable idiom? People should not be recommending K&R to beginners today!
- trealira 2y agoKernighan 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.