typedef struct { int a; double b; void *c; } foo; void func_foo() { static foo f = { .a = 10 , .b = 10.0 , .c = 0 }; }