#include <stdio.h>
void tukar(int *A,int *B);
int main()
{
	int A,B;
	printf ("masukkan angka\n");
	printf("A : ");scanf("%d",&A);
	printf("B : ");scanf("%d",&B);
	printf("\nangka tertukar");tukar (&A, &B);
	printf ("\nA : %d",A);printf ("\nB : %d\n",B);
	return 0;}
void tukar (int *A, int *B) {
	int Temp;
	Temp=*A;
	*A=*B;
	*B=Temp;}