#include<stdio.h>
main()
{
int a,b,c;
printf("\nEnter two numbers=");
scanf("%d%d",&a,&b);
printf("\nBefore swapping");
printf("\na=%d,b=%d",a,b);
c=a;
a=b;
b=c;
printf("\nafter swapping");
printf("\na=%d,b=%d",a,b);
}
main()
{
int a,b,c;
printf("\nEnter two numbers=");
scanf("%d%d",&a,&b);
printf("\nBefore swapping");
printf("\na=%d,b=%d",a,b);
c=a;
a=b;
b=c;
printf("\nafter swapping");
printf("\na=%d,b=%d",a,b);
}