C Program to SWAP Two Numbers | Swapping Program in C language
/**************** Program ***************/
#include<stdio.h>
main()
{
int a,b,temp;
printf(“Enter two no’s :”);
scanf(“%d%d”,&a,&b);
printf(“Values Before SWAPPING a : %d.. b: %d..n “,a,b);
temp = a;
a = b;
b = temp;
printf(“Values After SWAPPING a : %d.. b: %d..n “,a,b);
}