#include <stdio.h> #define CAT(x,y) x##y int main() { printf(\"%s\", CAT(\"hello\", \" world\")); return 0; } |
#include <stdio.h> #include<string.h> #define STRCPY(a, b) strcpy(a ##_p, #b) int main() { char arrr_p[]=\"abcdefg\"; char *b = \"123456\"; STRCPY(arrr, b); return 0; } |