// 9交换两个字符串 void SwapChar(char x[], char y[]) { char temp[MAX_LEN]; strcpy(temp, x); strcpy(x, y); strcpy(y, temp); }