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
Social Sciences,
5 months ago
Sociology,
10 months ago
Psychology,
10 months ago
Biology,
1 year ago
Biology,
1 year ago
Biology,
1 year ago