1.

What Are Types Of Preprocessor In C?

Answer»
  • #define and #undef - Used for defining and undefining MACROS.
  • #error - Used for Debugging
  • #include - Used for combining source code files
  • #if, #else, #elseif, and #endif - Used for conditional compilation similar to if - else statment.
  • #ifdef and #ifndef - Conditional Compilation on basis of #define and #undef
    #line - Controls the program line and file macros.
  • #PRAGMA - Used for GIVING compiler instruction. HIGHLY specific to the compiler being used.
  • # and ## - OPERATORS used for stringize and concating OPERATION respectively.



Discussion

No Comment Found