We can use ##
operator to concatenate two tokens, a process which is called token pasting.
For example,
#define PASTE(x, y) x ## _ ## y
int PASTE(foo, bar) = 12;
generates
int foo_bar = 12;
We can use ##
operator to concatenate two tokens, a process which is called token pasting.
For example,
#define PASTE(x, y) x ## _ ## y
int PASTE(foo, bar) = 12;
generates
int foo_bar = 12;