PRN211_-_FA_2023_-_FE_983.webp
P

PRN211_-_FA_2023_-_FE_983.webp

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

Thông tin

Category
PRN211
Thêm bởi
peaceful_man
Ngày thêm
Lượt xem
1,036
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN211_-_FA_2023_-_FE_983.webp
File size
43 KB
Dimensions
1286px x 546px

Share this media

Back
Bên trên Bottom