PROGRAM SOLUTION
#include<iostream.h>#include<conio.h>
void mian()
{
clrscr();
int a,b;
cout<<"Enter the value of a and b :: ";
cin>>a>>b;
cout<<"The value of a before change :: "<<a<<endl;
cout<<"The value of b before change :: "<<b<<endl;
a=a+b;
b=a-b;
a=a-b;
cout<<"The value of a after change :: "<<a<<endl;
cout<<"The value of b after change :: "<<b<<endl;
getch();
}