what does the # and ## means in C preprocessor macro of c++
I read the following code:
#define MACRO(abc, def) {#def ## #abc}
char result[10] = MARCO(abc, def);
I know the ## operator is used to merge the two string to one, but what
about the # in front of def and abc?
No comments:
Post a Comment