What are the values of x and y after the function call in the following code?
void magic(int x, int y) {
int temp = x;
x = y;
y = temp;
}
int x = 50;
int y = 75;
magic(x, y);
a) x = 75, y = 50
b) x = 50, y = 75
c) x = 75, y = 75
d) x = 50, y = 50