#include <stdio.h>
void interchange (int *u, int*v);
int main(void)
{
int phy = 80;
int math = 90;
printf("Originally phy = %d and math = %d\n", phy, math);
interchange(&phy, &math);
printf("Now phy = %d and math = %d\n", phy, math);
return 0;
}
void interchange(int *u, int *v)
{
int temp;
temp = *u;
*u = *v;
*v = temp;
}