c_programming_language/c_modern_approach/Preprocessor/defined.c

12 lines
160 B
C

#include <stdio.h>
#define DEBUG 1
int main()
{
#if defined (DEBUG)
printf("DEBUG defined");
#else
printf("DEBUG not defined");
#endif
return 0;
}