This is the same as doing
I have to do the whole array right here, before the semicolon, or I lose my chance. Here each struct would be initialized with a bunch of things in curly braces; to initialize the array I take all of them and surround them in an extra pair of curly braces.Code:int two_d_array[2][4] = {{1,2,3,4},{5,6,7,8}};