PRN211_-_RE_-_SU_2023_572.webp
Erza_girl

PRN211_-_RE_-_SU_2023_572.webp

(Choose 1 answer)
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 = 2;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?
A. a=1,b=4,c=10
B. a=2,b=5,c=9
C. a=3,b=4, c=11
D. a=4 b=5. c=12

Exit 49

Thông tin

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

Image metadata

Filename
PRN211_-_RE_-_SU_2023_572.webp
File size
50.4 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom