
#include<stdio.h>
#include<conio.h>
main()
{
int a=10, b=20;
clrscr();
printf("\n Before interchange the value is: a=%d, b=%d",a,b);
a=a+b;
b=a-b;
a=a-b;
printf("\n After interchange the value is: a=%d, b=%d",a,b);
getch();
}
Where Your Need Ends
About The Author
He has interest in programming in C, C++ and Java. He has been programming since 2007. He is the Founder of "Era of Skills".
You can follow him on Facebook