Mega Code Archive

 
Categories / C / Macro Preprocessor
 

IF and endif preprocessor

#include <stdio.h> #define TEST 29 #if defined TEST int main(void)  {   printf("This is a test.\n");   return 0; } #endif