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