+ 1

Can we declare multidimensional array in such a way?

int arr[3][]={2,3,4, 5,6,7, 8,9,0 }; if yes why?if not then why?

27th Feb 2018, 6:39 PM
Dhananjay Panage
Dhananjay Panage - avatar
1 Réponse
+ 3
int are[3][] = { {2,3,4}, {5,6,7}, {8,9,0} };
27th Feb 2018, 7:50 PM
Ravi Chandra Enaganti
Ravi Chandra Enaganti - avatar