Algorithm for swapping two numbers without using third variable
Answers
Answered by
0
Answer:
#include<studio.h>
void main
{
int a=5,b=10;
clrscr();
a=a+b;
b=a-b;
a=a-b;
printf("%d %d",a ,b);
}
Similar questions
Math,
6 months ago
Computer Science,
6 months ago
Math,
6 months ago
Sociology,
11 months ago
Psychology,
11 months ago
Biology,
1 year ago
Biology,
1 year ago
Biology,
1 year ago