## Preprocessor Macro Operator

Use the ## operator according to the following rules:

The following examples demonstrate the use of the ## operator:

Sample Preprocessor Macro Definitions
#define ArgArg(x, y) x##y
#define ArgText(x) x##TEXT
#define TextArg(x) TEXT##x
#define TextText TEXT##text
#define Jitter 1
#define bug 2
#define Jitterbug 3
Invocation Result of Macro Expansion
ArgArg(lady, bug) "ladybug"
ArgText(con) "conTEXT"
TextArg(book) "TEXTbook"
TextText "TEXTtext"
ArgArg(Jitter, bug) 3

 



Preprocessor Directives
Preprocessor Macros


Preprocessor Macro Operators
#define Preprocessor Directive