I want to stringify the __COUNTER__
and print it as a string not an integer. Is that possible?
printf("%s\n", #__COUNTER__);
I have tried the following, but it does not work.
hello.c:6:19: error: stray ‘#’ in program
printf("%s\n",#__COUNTER__);