Due to server problems the website is temporarily offline! Visit http://www.smorgasbordet.com/pellesc/ to download Pelles C.
char *txt[1] = { [0] "asdf",};
Code: [Select]char *txt[1] = { [0] "asdf",};This works in Pelles C - should it?
char *txt[1] = { [0] = "asdf",};
char const *txt[] = { [0] = "asdf",};
6.7.8 InitializationSyntax1 initializer: assignment-expression { initializer-list } { initializer-list ,} initializer-list: designationopt initializer initializer-list , designationopt initializer designation: designator-list = designator-list: designator designator-list designator designator: [ constant-expression ] . identifier