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. 12
B. Error
C. 8
D. 7
E. 11
Links:
Multidimensional Arrays