What is the output of this code, given the following function definition?
int x =5, y = 2;
y = mixUp (x, y);
cout << x;
int mixUp (int &p, int t) //function definition
{
p = p * t;
return p + 1;
}
a) 5
b) 6
c) 10
d) 11
c) 10
Computer Science & Information Technology
You might also like to view...
A(n) ________ is an item that has been virtually attached to a Pinterest pinboard
Fill in the blank(s) with correct word
Computer Science & Information Technology
The major commercial language for the period 1960 through the 1990s was ______.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology