Respuesta :

tonb
In C++ it would be: void addOne(int& x);

In C# it would be: void addOne( ref int x)

In JAVA you would have to package the integer inside an object, since it doesn't pass value types by reference.
ACCESS MORE