Programming tools / The preprocessor |
Concatenates two parameters of a preprocessor macro.
token1 ## token2
All tokens can not be merged. Usually these tokens are identifiers, or numbers.
The concatenation result produces an identifier.
&define COMMAND(NAME) #NAME, NAME ## _command COMMAND(quit)
& 1 "A" "quit", quit_command