Page 1 of 1

Question 9 Given the following function definition: void calc (int a, int& b) { init c c=a+2₁ a=a*3, b=c+a } What is the

Posted: Fri Jul 01, 2022 5:43 am
by answerhappygod
Question 9 Given The Following Function Definition Void Calc Int A Int B Init C C A 2 A A 3 B C A What Is The 1
Question 9 Given The Following Function Definition Void Calc Int A Int B Init C C A 2 A A 3 B C A What Is The 1 (20.57 KiB) Viewed 29 times
Question 9 Given the following function definition: void calc (int a, int& b) { init c c=a+2₁ a=a*3, b=c+a } What is the output of the following code fragment that invokes calc? int x = 1, inty=2, int z = 3, calc(x, y). cout << x <<** << y <<*• << << endi, Selected Answer: Answers: B. A B. 163 123 163 363 C D. 1 14 9