Can I fill a specific element in an array of structs?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include <stdio.h>
#define SIZE 100
typedefstruct
{
int x;
int y;
int z;
}something;
int main()
{
something arr[SIZE];
arr[0] = {10, 20, 30}; // Is there a way to do this?
return 0;
}