LogiQuest
Back to Arrays
14

What is the output of the following program?

var a = new[] { 1, 2, 3, 4 };
Console.WriteLine(a[^1] + a[0]);
Hard

Discussion (0)

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

Log in to join the discussion.