/* Call by reference */
/* pointers must be changed in the parameter list in the function definition
*/
#include< stdio.h>
#include< conio.h>
void swap (int*,int*);
int main(void)
{
   int m=3,n=5;
   swap(&m,&n);
   printf("M's Value after swap =%d\n N's Value after swap=%d",m,n);
   getch();
}
void swap (int *a,int *b)
{
	int temp;
	temp=*a;
	*a=*b;
	*b=temp;
}