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
2 odpowiedzi
+ 1
Coder Kitten thanks a lot.
9th Sep 2020, 10:45 PM
Cлaвeн Ђервида
Cлaвeн Ђервида - avatar