Explain this question please? | SoloLearn: Learn to code for FREE!

+18

Explain this question please?

Wht happened in this program explain please . https://www.sololearn.com/post/417181/?ref=app

cpp

5/22/2020 10:58:36 AM

😭😥

2 Answers

New Answer

+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