#include
#include
#include
void swap(int *a,int *b)
{
*a^=*b;
*b^=*a;
*a^=*b;
printf("a1=%p\nb1=%d\n",a,b);
}
int main(int argc, char *argv[])
{
int a=10;
int b=5;
swap(&a,&b);
printf("a=%d\nb=%d\n",a,b);
return 0;
}