SyntaxFix
Write A Post
Hire A Developer
Questions
You want to use the stringizing operator:
#define STRING(s) #s int main() { const char * cstr = STRING(abc); //cstr == "abc" }