Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (9 sloc) 141 Bytes
// Swapping using xor only usinfg ints
#include<stdio.h>
int main()
{
int a=10,b=5;
a^=b^=a^=b ;
printf("\n %d\n%d\n",a,b);
return 0;
}