write c++ program to swap two variables without third variable...if you can???
Share
write c++ program to swap two variables without third variable...if you can???
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
void main()
{
int a=10;
int b=5;
a=a+b;
b=a-b;
a=a-b;
cout<<a<<b;
getch ();
}