// filename:c2011-6-10-1-ex.c // original examples and/or notes: // (c) ISO/IEC JTC1 SC22 WG14 N1570, April 12, 2011 // C2011 6.10.1 Conditional inclusion // compile and output mechanism: // (c) Ogawa Kiyoshi, kaizen@gifu-u.ac.jp, December.xx, 2013 // compile errors and/or wornings: // (c) Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn) // Target: x86_64-apple-darwin11.4.2 //Thread model: posix // (c) LLVM 2003-2009 University of Illinois at Urbana-Champaign. #include int main(void) { // Example #if 'z' - 'a' == 25 printf("#if 'z' - 'a' == 25\n"); #endif if ('z' - 'a' == 25) printf("if 'z' - 'a' == 25\n"); return printf("6.10.1 Conditional inclusion\n"); } // output may be //#if 'z' - 'a' == 25 //if 'z' - 'a' == 25 //6.10.1 Conditional inclusion