struct child {
char name[32];
int height;
};
struct child group_a[8];
I'd like to initialise every child in group_a with the same name and height, for example name = "XXX" and height = "100".
Is there a quick of doing it, rather than struct child group_a[8] = {{"XXX", 100}, {"XXX", 100}, ..., {"XXX", 100}}?