Hello Everyone!
I don't understand where to put brackets when initializing multidimensional array in c programming?
I have declared and initialized a 4 dimensional array which stores 24 variable
I don't understand how to put brackets for each index. How to determine where to put parentheses
I don't understand where to put brackets when initializing multidimensional array in c programming?
I have declared and initialized a 4 dimensional array which stores 24 variable
C:
int main ()
{
int a[2][3][2][2] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 };
return 0;
}