问题 更新时间2023/4/3 12:59:00 [改错题,10分]8题目:函数fun的功能是:实现交换两个整数的值。例如给a和b 分别输入3和6 ,输出为a=6 b=3 程序中共有 条错误语句。void fun (int a, b){ int t; t=a; a=b; b=t;} main(){ int a,b; cout<<"enter a,b:"); cin>>a>>b; fun(&a,&b); cout<<><>< p=""> } 答案 登录 注册 4 出自:青书学堂 >> 许昌学院面向对象程序设计