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.
I’m 80% sure it’s the last one, I’ve studied this last year I cant quite grasp the memorie
I think it would be B but I’m not entirely sure.
Answer:
replace everything on 11 to 12
Explanation: