Other common approcahes like sizeof(arr)/sizeof(arr[0]) are dangerous, because they will not fail when they are passed something which is not an array, but produce wrong results.
What you are defining on lines 7 to 10 is an array of integers. Not an array of structures.
It is actually is array of structures with illegal name (struct is a reserved word) and incorrect initialization list (individual structure initializers should be in braces)