#include conio
void swapInteger(int *x, int *y){
int temp=*x;
*x=*y;
*y=temp;
}
main(){
int a, b;
cout<<"x: "; cin>>a;
cout<<"y: "; cin>>b;
swapInteger(&a, &b);
cout<<"X = "<<
cout<<"Y = "<
getch();
}
Copyright © 2009 Entertainment OnLine |Designed by Templatemo |BloggerTemplate Converted by BloggerThemes.Net
0 comments:
Post a Comment