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

@developerprab06 Thanks for reporting, but what option do you think we should change? Please, check: https://ideone.com/cCg8NQ

2020 Aug 2, 10:22:43 PM

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

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты