+ 20
Explain this question please?
Wht happened in this program explain please . https://www.sololearn.com/post/417181/?ref=app
2 Answers
+ 8
Amya Ziyayeva
letâs call the variable âaâ outside function = y.
You pass (y,y) into the function.
Parameter(&a, &b) means:
a becomes reference of y
b becomes reference of y
a = 3, y becomes 3
b = 4, y becomes 4
return y + y = 8
printing value:
a = y = 4
b = 7
c = 8
+ 4
Bobby Fischer i understood your explanation . thnks