How to correctly initialize a two-dimensional array? (Select all correct ways)
Explanation
int k[][] = new int [2][3], int[][] k = new int [2][3], int k[,] = new int [2,3] - incorrect definitions;
int[][] k = new int[2][] - is a definition of a staged array, not initialization

Wriong answer is marked as right answer please check this question

2020 Apr 10, 9:37:19 AM

Wrong question

2020 Apr 6, 9:11:27 PM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes