Is there a way to declare a string where inside the string, a predefined label is included? I.e.,
#define MY_CODE 0x1000
char str[]="Here is MY_CODE"; //will not work I know
Any way to get around this instead of hard-coding it?
#define MY_CODE 0x1000
char str[]="Here is MY_CODE"; //will not work I know
Any way to get around this instead of hard-coding it?
Comment