阅读背景:

这是错误的使用交换功能? [等候接听]

来源:互联网 
void swap(int *x, int *y) {
    int temp;
    temp = *x;
    *x = *y;
    *y = temp;
}

int main() {
    int a=10, b=20;
    swap(a, b);
    printf("a: %d, b: %d", a, b);
}
void swap(int *x, int *y) {
    int temp;
    t



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: