交换两个字符串 #6

Merged
pvfj5ugro merged 1 commits from XZL_交换两个字符串 into master 2 years ago

@ -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