logo
YourData+
玉东数据
首页专升本CLASSROOM博客工具
填空
[填空]

程序功能:调用swap函数交换a和b的值,并输出交换后a和b的值。

#include <stdio.h>
void main(  )
{
    void swap(int *p, int *q);
    int a = 3, b = 5;
    swap(①);
    printf("After swap %d,%d", a, b);
}
void swap(int *p, int *q)
{
    int t;
    ②;
    ③;
    ④;
}
答案:
解析:

Copyright ©

YourData+2025.甘肃玉东数据有限公司
应用合作解决方案MUI-Remix
18919890888微信同号
陇ICP备2021001826号