Consider the following user-defined function:
void Quick_Change (int x, int & y)
{
if (x == 0)
y = 10;
else if (y == 0)
x = 10;
}
Assume the values in variable A and B are both of int type. How do I find what the values are after execution of the statement Quick_Change(A,B), if the values of A and B are
0 and 5 respectively?
5 and 0 respectively?
5 and 5 respectively?
0 and 0 respectively?