#include // To experiment with the DEBUG symbol, try to define it as follows // gcc -DDEBUG -Wall -g -o conditional conditional.c #ifdef DEBUG #define PRINT(message) printf("%s:%d %s\n",__FILE__,__LINE__,message); #else #define PRINT(message) #endif int main() { int a = 5; int b = 10; PRINT("got here..."); PRINT("how about here..."); printf("a+b is %d\n", a+b); return 0; }