Kizspy | Question: 8
(Choose 1 answer)
static void GetValue(ref int a, out int b, int c){
b = a + c;
c++;
c = a + b;
}
static void Main(string[] args){
int a=3, b = 4, c=5;
GetValue(ref c, out b, a);
Console.WriteLine($"a={a},b={b},c={c}");
}
Which one of the following is the output of the above code?
A. a=3,b=8,c=5
B. a=2,b=7,c=5
C. a=4,b=8,c=4
D. a=1,b=6,c=3