Multiple choices 23/50
Answer (Choose 1 answer)
A. a-2.b-5.c=9
B. a=1,b=4,c=10
C. a=4,b=5.c=12
D. a=3,b=4,c=11
static void GetValue(int a,ref int b,out int c){
c = 0:
}
} Which one of the following is the output of the above code?
for (int i = a; i <=b; i++){
}
c += i;
static void Main(string[] args){4, c = 2;int a = 1, b = 4,
GetValue(a, ref b,out c);
Console.WriteLine($"a={a},b={b},c={c}");
Next
1
2
3
4
5
6
7
8
9
10 11
12
13
14
15
16
17
18
19
20
21
22
23 24
25
26
27
28
29
30
31
32
33
34
35
36 37
38
39 40 41 42
43
44 45 46 47 48
49
50
Eit