#include <stdio.h>
int main()
{
int a, b, temp;
printf("enter the values of a and b:
");
scanf("%d%d", &a, &b );
printf("current values are:
a=%d
b=%d
", a, b);
temp=a;
a=b;
b=temp;
printf("After swapping:
a=%d
b=%d
", a, b);
}