Alternative Titles (to aid search)
- Convert a preprocessor token to a string
- How to make a char string from a C
As others have noted, use token pasting. You should also be aware that macro names like
__TESTING
are reserved in C (don't know about Objective C) for the implementation - you are not allowed to use them in your own code. The reserved names are anything containing double underscores and anything begining with an underscore and an uppercase letter.