PRN211_-_SP_2024_-_Block_5_-_FE_1927.webp
P

PRN211_-_SP_2024_-_Block_5_-_FE_1927.webp

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

40

Thông tin

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

Image metadata

Filename
PRN211_-_SP_2024_-_Block_5_-_FE_1927.webp
File size
174 KB
Dimensions
1920px x 930px

Share this media

Back
Bên trên Bottom