(11
Answer (Choose 1 answer)
What is the exact output of this code?
static void GetValue(ref int a, out int b)
b=a+1;
a = a + b;}
static void Main(string[] args)
{
int a = 3, b = 4:
GetValue(ref a, out b);
Console.WriteLine("a={0},b={1}", a, b);}
A. a=7,b=4
B. a=4,b=7
C. a=5,b=8
D. a=8,b=5
}
Elt