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
Posted: Fri Jul 01, 2022 5:42 am
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; int y = 2; int z = 3; calc(x, y). cout << x <<" " << y <<" << z << endl; Selected Answer: Answers: B. A B. 163 123 163 363 C D. 1 14 9