I believe your error comes from here:
struct gameObjects[0][0] = { 1,24,48,0,0,1,0};
Once an instance of a struct has been declared, I don’t think the compiler will allow this initialization notation.
You could try initializing the values individually using
gameObjects[0][0].type = 1;
Also you are only trying to initialize one game objects variables, but in your loop you are checking the values of every index. The values need to all be initialized before checked.
Sorry, my previous answer was incorrect. You can only pre-initialise the array at the time that you define it. Otherwise, you have to set its values from within the code.