What is the output of the following code, given the function definition below?

tester (a, b);
cout << a << “ “ << b;

void tester (int m, int &n) // function definition
{
n = n - 2 * m;
m = 2 * m;
}

a) 7 -2
b) 7 12
c) 14 -2
d) 14 12

a) 7 -2

Computer Science & Information Technology

You might also like to view...

A pie chart represents a percent to a whole

Indicate whether the statement is true or false

Computer Science & Information Technology

Speech recognition is also called ________ recognition

Fill in the blank(s) with correct word

Computer Science & Information Technology