//swapping two numbers without
third variable
#include<stdio.h>
#include<stdio.h>
#include<conio.h>
void
main()
{
int i,j;
clrscr();
cprintf("enter the value of
a:");
scanf("%d",&i);
cprintf("enter the value of
b:");
scanf("%d",&j);
j=i-j;
i=i-j;
printf("a=%d and b=%d",i,j);
getch();
}