#include<stdio.h>
main()
{
int A,B,C;
clrscr();
A=500;
B=1000;
printf("Isi
variabel sebelum ditukarkan\n" );
printf("Isi
A = %d\n",A );
printf("Isi
B = %d\n",B );
C=A;
A=B;
B=C;
printf("Isi
variabel setelah ditukarkan\n" );
printf("Isi
A = %d\n",A );
printf("Isi
B = %d\n",B );
getch();
}