void strcat(char *p,char *q)
{char *point=p;
while(*point)
point++; /* 移到字符串末尾 */
while(*q)
{*point=*q; /* 连接 */
point++;
q++;
}
*q='\0'; /* 结束符 */
}
void strcat(char *p,char *q)
{
char *point=p;
while( *point!="\0")
point++;
while(*q!="\0")
{
*point=*q;
point++;
q++;
}
*point='\0';
}