35
Well now I just wanna see more for-loop one-liners!
Well now I just wanna see more for-loop one-liners!
There's always the classic C strcpy :)
char *strcpy(char *dest, char *src) {
char *p = dest;
while (*p++ = *src++);
return dest;
}
Oof.
Thanks I hate it
Post funny things about programming here! (Or just rant about your favourite programming language.)