Reposting this abomination from my Reddit Account because this is important information. Uncle Bob would be proud.
You must log in or register to comment.
- Posts ( @Posts@discuss.tchncs.de ) 7•1 year ago
Well now I just wanna see more for-loop one-liners!
- Leo Uino ( @lwhjp@lemmy.sdf.org ) 3•1 year ago
There’s always the classic C strcpy :)
char *strcpy(char *dest, char *src) { char *p = dest; while (*p++ = *src++); return dest; }