void Foo(int &Arg, int Arg2) { Arg = 5; Arg2 = 5; } int main() { int A = 3; int B = 3; Foo(A,B); printf("%d %d", A,B); reutrn 0; }