#include <stdio.h>
int main(){
int a,b;
printf("enter two numbers: ");
scanf("%d%d",&a,&b);
a=a+b;
b=a-b;
a=a-b;
printf("after swapping:\n");
printf("a=%d\n", a);
printf("b=%d\n", b);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: