It's a familiar fact that in C you can write "a" "b"
and get "ab"
. This is discussed in the C11
standard:
In translation phase 6, the multibyte character sequences specified by any sequence of adjacent character and identically-prefixed string literal tokens are concatenated into a single multibyte character sequence.
The phrase "character and..." would seem to suggest you can get the same results by writing 'a' "b"
, but I've never come across that usage and GCC and the Microsoft compiler both reject it. Am I missing something?