Swapp two number without using third variable

int a,b;
a=5;
b=6;
a=a+b;
b=a-b;
a=a-b;
System.out.println(a+""+b);

Comments

Popular posts from this blog