#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c; // a,b and c are integers
clrscr(); // this is a function that used to clear the previos output
printf("enter any two numbres\n");
scanf("%d%d",&a,&b);
printf("value of a before Swap = %d\n",a);
printf("value of b before Swap = %d\n",b);
/*************Logic to swap***********************/
c=a; // value of a given to c
a=b; // value of b given to a
b=c; // value of c given to b
printf("value of a after Swap = %d\n",a);
printf("value of b after Swap = %d\n",b);