That's clear now, i was though the 'unindexed' strings (in this case index 1, 2, 3, and 5) remains unintialized (not initialized to NULL). Thanks very much. Randi, 2010/5/30 Michal Nazarewicz <mina86@xxxxxxx>: > Randi Botse <nightdecoder@xxxxxxxxx> writes: >> Yes, the N_(x) macro used for localization that i discard in my question. >> >> Sorry but, i just having another question, consider this code: >> >> const char *my_strings[] = { >> [0] = "index0", >> [4] = "index4", >> [6] = "index6" >> }; > > NULLs will be written at indexes 1, 2, 3 and 5. There will be total of > 7 pointers (the last one will point to "index6"). > > -- > Best regards, _ _ > .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o > ..o | Computer Science, Michal "mina86" Nazarewicz (o o) > ooo +--<mina86-tlen.pl>--<jid:mina86-jabber.org>--ooO--(_)--Ooo-- > -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html