PRN211_-_REB5_-_FA_2023_1324.webp
B

PRN211_-_REB5_-_FA_2023_1324.webp

(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){
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=7,b=6,c=6
B. a=5,b=5,c=5
C. a=7,b=8,c=8
D. a=5,b=2,c=4

Exit 19

Thông tin

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

Image metadata

Filename
PRN211_-_REB5_-_FA_2023_1324.webp
File size
50.8 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom