Solved

Given the Function Definition

Question 28

Multiple Choice

Given the function definition
Void something int a, int& b )
{
Int c;
C = a + 2;
A = a * 3;
B = c + a;
}
What is the output of the following code fragment that invokes something?
All variables are of type int.)
R = 1;
S = 2;
T = 3;
Somethingt, s) ;
Cout << r << ' ' << s << ' ' << t << endl;


A) 1 14 3
B) 1 10 3
C) 5 14 3
D) 1 14 9
E) none of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents