program for to Interchange the number.
// program for interchange contents.
#include<stdio.h>
int main()
{
int a=5,b=6,c=7;
int temp;
temp=a;
a=b;
b=c;
c=temp;
printf("a=%d,\tb=%d,\tc=%d",a,b,c);
}
/*Output*/
a=6, b=7, c=5
Comments
Post a Comment