Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

while (t++ = s++) ;

You're assigning a char to another, relying on the return value being 0 to detect end of string.

You're performing the copy while also increasing the pointers with ++ in the same expression.

You're using the cryptic ; empty statement to signify nop, thereby confusing newbies.

Etc



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: