LogiQuest
Back to Arrays
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

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.