## token-pasting operator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

## token-pasting operator

I was searching for this on the net but I still don't understand what is happening here: What is the output of this code? #define macro(r, a, b) b##a##r #define CHAOS macro(r, a, b) void CHAOS() { printf("order"); } int main() { bar(); return 0; }

9th Sep 2020, 7:30 PM
Cлaвeн Ђервида
Cлaвeн Ђервида - avatar
1 Answer
+ 1
Coder Kitten thanks a lot.
9th Sep 2020, 10:45 PM
Cлaвeн Ђервида
Cлaвeн Ђервида - avatar