2
(Choose 1 answer)
A.a=4.b=5.c=12
3~a=1~b=4~c=10
C. a=2,b=5,c=9
D. a=3.b=4.c=11
static void GetValue(int a, ref int b,out int c){
c = 0:
for (int i = a; i <=b; i++){
c += i;
}
}
static void Main(string[] args){
int a=1 b=4 c=2i
GetValue(a, ref b,out c);
Console.WriteLine($"a={a},b={b},c={c}");
} Which one of the following is the output of the above code?
Finish