#include<stdio.h>
#include<conio.h>
main()
{
int a, b, temp;
clrscr();
printf("Enter Numbers: ");
scanf("%d%d",&a,&b);
printf("\nBefore Swapping..\na=%d,b=%d",a,b);
temp=a;
a=b;
b=temp;
printf("\nAfter Swapping..\na=%d,b=%d",a,b);
getch();
}
i was needing this swapping program
i was needing this swapping program… tq