Lastly, notice that there is NOT a comma between "voltage\0" and "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",. The array "options" has only 3 elements, not 6 as it appears at first glance.
There will be space after the strings but I'm not sure what values will be inserted. Maybe that doesn't matter unless you really need 0s.
______
Rob
Thanks. Interesting idea. I'm not sure that it would work though, because I need to insure that the zeros come immediately after the string in memory. With your method, I think the compiler would put the variables anywhere it wanted to (and not necessarily in a contiguous manner) right?
Aray is 3x20 bytes exactly in memory. It will be zeroed till the end of each string in array but remember there is an identical copy in FLASH and it waste a space.