void swap(int &a,int &b){ int t=a; a=b; b=t;}int main(){ int x=100,y=1000; cout< swap(x,y); cout< return 0;}