XZL_交换两个字符串

XZL_交换两个字符串
xuzilin 2 years ago
parent 3fff8cb152
commit 17f341078e

@ -231,7 +231,10 @@ void SwapLong(long *x,long *y)
```
void SwapChar(char x[],chary[])
{
char temp[MAX_LEN];
strcpy(temp, x);
strcpy(x, y);
strcpy(y, temp);
}
```

Loading…
Cancel
Save