#include "stdafx.h" void modify(int &x,int &y) { int temp1, temp2; temp1=x; temp2=y; x=temp1*temp2; y=temp1/temp2; } int _tmain(int argc, _TCHAR* argv[]) { modify(10,5); printf("%d", x); printf("%d\n", y); return 0; }