PRN211_-_SP_2023_-_FE_167.webp
hirosi212

PRN211_-_SP_2023_-_FE_167.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){
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=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 28

Thông tin

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

Share this media

Back
Bên trên Bottom