What will be output from the following code segment, assuming it is in the same class as the doSomething method?
int[] arr = {1, 2, 3, 4};
doSomething(arr);
Console.WriteLine(arr[1] + " ");
Console.WriteLine(arr[3]);
...
public void doSomething(int[] list)
{
int[] b = list;
for (int i = 0; i < b.Length; i++)
b[i] = i;
}
(A) 0 0
(B) 2 4
(C) 1 3
(D) 0 2
(E) 0 3