16
What is the output of the following program?
int[] a = { 3, 8, 1 };
int[] b = a;
b[0] = 100;
Console.WriteLine(a[0]);DiscussMedium
Loading subject content…
Loading practice questions…
What is the output of the following program?
int[] a = { 3, 8, 1 };
int[] b = a;
b[0] = 100;
Console.WriteLine(a[0]);What is the output of the following program?
int[] a = { 4, 2, 7 };
Array.Reverse(a);
Console.WriteLine(a[0]);What is the output of the following program?
int[] a = { 7, 3, 9 };
Console.WriteLine(a.Max() - a.Min());