This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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?

0