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