If they're both strings you can just do: #define STR3 STR1 STR2 The preprocessor automatically concatenates adjacent strings.