int[][]a = new int[2][];
a[0] = new int[4]{6, 1 ,4, 3};
a[1] = new int[3]{9, 2, 7};
foreach (int[ ] i in a)
{
/* Add loop here */
Console.Write(j + " ");
Console.WriteLine();
}
A.foreach (int j = 1; j < a(0).GetUpperBound; j++)
B.foreach (int j = 1; j < a.GetUpperBound (0); j++)
C.foreach (int j in a.Length)
D.foreach (int j in i)
E.foreach (int j in a.Length -1)
Answer: Option D
a[0] = new int[4]{6, 1 ,4, 3};
a[1] = new int[3]{9, 2, 7};
foreach (int[ ] i in a)
{
/* Add loop here */
Console.Write(j + " ");
Console.WriteLine();
}
A.foreach (int j = 1; j < a(0).GetUpperBound; j++)
B.foreach (int j = 1; j < a.GetUpperBound (0); j++)
C.foreach (int j in a.Length)
D.foreach (int j in i)
E.foreach (int j in a.Length -1)
Answer: Option D