#define TRACE(arg1,...) char* arg1;
int main(void)
{
int a=4;
TRACE(("Hello",a)); // convert "Hello" to a valid char variable name.
return 0;
}
I'm having trouble in converting the string "Hello"
into a variable name.
for example: "Hello"
should be converted as const char* Hello;
by using a macro. Since there are double quotes I'm unable to convert it. This is my first question in Stack Overflow.