Merge pull request '交换两个字符串' (#6) from XZL_交换两个字符串 into master

XZG_按选择法将将数组num的元素值从低到高排序
pvfj5ugro 2 years ago
commit 6a05da907d

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