Designated initializers for struct

struct S {int a; float b; char c[4]; };
struct S s1 = {.c = "abc"};

This gives me at compiler error #29, but it should be supported in C99 right?

Parents Reply Children
No data
More questions in this forum