include iostreamvoid fun(int &x){r = 10;}int main(){int r = 20;fun(r);cout "New value of r is " r;return 0;}
Not registered? Create an account
Forgot Password?
Already a registered user? Login