Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17
Akash Kumar ## is used to concatenate two tokens and use that b##a##r is make the whole thing with "bar" and #define macro is replaced the( r, a, b) with ( bar) Then in next line CHAOS is replaced with ( bar) so in next calling statement void CHAOS(){ printf("order"); } is changes into void bar(){ printf("order"); } And due to this when bar() function is called inside main() it will return "order"
20th Aug 2019, 7:38 PM
GAWEN STEASY
GAWEN STEASY - avatar