[Solved] how ‘while (*dst++ = *src++) ;’ be executed? [duplicate]
The postfix ++ operator increments the value of a variable after the statement it’s in has been executed. According to C’s precedence rules, the expression will be evaluated something like this: while (*(dst++) = *(src++)); Which will basically: Set the character dst points to to the character src points to. Increment both dst and src … Read more