Skip to main content
edited tags
Link
Source Link
coderodde
  • 967
  • 5
  • 20
  • 41

Concatenate C macro definition string to literal strings

Let the first row be:

#define TAG_LEN 32 

Now, I need to concatenate it with a literal string constant; something like that:

puts("Blah" [insert your answer] TAG_LEN); // I need "Blah32".