strcat函数的功能就是在一个字符串后面追加上另外一个字符串。
char * strcat ( char * destination, const char * source );
char* strcat(char* destination, char* source )
{
int ret = destination;
while (*destination)
{
destination++;
}
while (*destination++ = *source ++)
{
;
}
return ret;
}