Preprocessor Directives

In C programming language preprocessor is a micro processor that is used to compiler to transform your code before compilation. It is called a macro preprocessor because it allows us to add macros. This expanded file is compiled by the compiler and object code file is generated named program .obj. All preprocessor directives starts with hash (#) symbol.

Let’s see a list of preprocessor directives

  • #include
  • #define
  • #undef
  • #ifdef
  • #ifndef
  • #if
  • #else
  • #endif
  • #error
  • #elif
  • #pragma

Submit your review
1
2
3
4
5
Submit
     
Cancel

Create your own review

The Technical Funda
Average rating:  
 0 reviews