#include<iostream>#include<cmath>using namespace std;int main(){ void swap(int,int);int a1=3;int b1=4;swap(a1,b1);cout<<a1<<" "<<b1<<endl;system("pause");return 0;}void swap(int a,int b){int temp;temp=a;a=b;b=temp;}
- 8 回答
- 0 关注
- 4460 浏览
添加回答
举报
0/150
提交
取消