Given the following function definition:
int calc (int a, int b)
{
int c;
c = a + 2;
a = a * 3;
b = c + a;
return c;
}
What is the output of the following code fragment that invokes calc?
int x = 1;
int y = 2;
int z = calc(x, y);
cout < x="">< " ="" "="">< y="">< " ="" " ="">< z=""><>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here