Is there a string longer or shorter than 3 characters in his code? No so why are you discussing things unrelated to the question...
I would take the original question:
Is there a way to do something like this:
... as being open to different length names being part of what is asked, with the word "like" there.
I liked reply #1 which did not allocate more memory than was required (if, say, the day names were shorter) and would handle longer names.
However reply #19 is, if I may say without giving offence, silly. At the very least it is non-portable, hard to understand, specific to that particular length of names, and requires a cast.