0166-desig.c (300B)
1 struct S { 2 int a, b, c; 3 char d[3]; 4 int e; 5 } s = { 6 .a = 1, 7 .b = 2, 8 .d = {[0] = 3, [2] = 5}, 9 .d = {[0] = 4, [1] = 6} 10 }; 11 12 int 13 main(void) 14 { 15 if (s.a != 1) 16 return 1; 17 if (s.b != 2) 18 return 2; 19 if (s.d[0] != 4) 20 return 3; 21 if (s.d[1] != 6) 22 return 4; 23 if (s.d[2] != 0) 24 return 5; 25 return 0; 26 }