IF and endif preprocessor : Preprocessor IF « Macro Preprocessor « C / ANSI-C






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


           
       








Related examples in the same category

1.#IF #ELSE #ENDIF
2.ifdef preprocessor