swapping program does not use third variable
void main() { int a,b;//example a=10,b=12; a=a+b;//a=22 b=a-b;//b=10; a=a-b;//a=12 }