lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
What is the output of the following code fragment?
int[,] array = new int[4,4] { {1,2,3,4}, {5,6,7,8}, {9,10,11,12}, {13,14,15,16 } }; int x = array[1, 4]; Console.WriteLine(x);
A. 8
B. 11
C. Error
D. 12
E. 7
Links:
Multidimensional Arrays