Code:#include<stdio.h> #include<conio.h> swap(int x,int y); int main() { int a,b; clrscr(); printf("Enter two numbers "); scanf("%d%d",&a,&b); swap(a,b); printf("\nBefore swapping %d was a and %d was b"); getch(); return 0; } swap(int x,int y) { x=x+y; y=x-y; x=x-y; printf("\n%d is a and %d is b"); }