LogiQuest
Back to Arrays
12

What is the output of the following program?

int[] a = { 2, 4, 6, 8 };
Console.WriteLine(Array.IndexOf(a, 6));
Easy

Discussion (0)

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

Log in to join the discussion.