#include<stdio.h>
int main()
{
int a=5;
int b=6;
int c=7;
a^=b,b^=a,a^=b;
b^=c,c^=b,b^=c;
printf(“a= %d\n”,a);
printf(“b= %d\n”,b);
printf(“c= %d\n”,c);
return 0;
}
#include<stdio.h>
int main()
{
int a=5;
int b=6;
int c=7;
a^=b,b^=a,a^=b;
b^=c,c^=b,b^=c;
printf(“a= %d\n”,a);
printf(“b= %d\n”,b);
printf(“c= %d\n”,c);
return 0;
}
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.