10
What is the output of the following program?
int[] a = { 1, 2, 3 };
int[] b = (int[])a.Clone();
b[0] = 9;
Console.WriteLine(a[0]);Medium
What is the output of the following program?
int[] a = { 1, 2, 3 };
int[] b = (int[])a.Clone();
b[0] = 9;
Console.WriteLine(a[0]);Log in to join the discussion.