Math, asked by chiragmehta1441, 11 months ago

Algorithm for swapping two numbers without using third variable

Answers

Answered by sharmilas
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