Preprocessor directives in c


In c all the preprocessor directives start with # character except define() operator. All the directives have different task which executes just before the actual execution of c program which makes the program more portable. These directives are used only to instruct compilers.

List all preprocessor directives in c.



  • Preprocessor definitions in c
  • Preprocessor directive in c
  • #include directive in c
  • # define directive in c
  • Pragma directive in c
  • Warning directive
  • Preprocessor operators in c
  • # if directive in c
  • #line directive in c
  • # error directive in c
  • # elif in c
  • # ifdef and #endif in c
  •  # ifndef in c example
  • #undef in c
  • What is header file in ?
  • C preprocessor questions
  • C tutorial home.
  • 2 comments:

    Bhavini Sarkar said...

    Preprocessor directives are processed before compilation of source code.
    All preprocessor directives(Header files) begin with a # symbol.
    Preprocessor directives in C do not ends with semicolon.

    sandeep saxena said...

    i preview this blog. Most of the points are very interesting to read. its help me to study also. Thanks for your help.
    JMeter Training in Chennai
    JMeter Training Institute in Chennai
    Appium Training in Chennai
    Best Appium Training institute in Chennai
    javascript training in chennai
    core java training in chennai
    C C++ Training in Chennai