use of conditional compilation in c code example
Example: conditional compilation in c
#ifdef macro1
printf( "Hello!\n" );
#endif
#ifndef macro2
printf( "Hello!\n" );
#endif
#ifdef macro3
printf( "Hello!\n" );
#endif
#ifdef macro1
printf( "Hello!\n" );
#endif
#ifndef macro2
printf( "Hello!\n" );
#endif
#ifdef macro3
printf( "Hello!\n" );
#endif