PREPROCESSOR DIRECTIVES

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Preprocessor directives are not program statements but directives for the preprocessor.

Statistics

  • Total Hits - 26865

  • Total Votes - 100 votes

  • Vote Up - 43 votes

  • Vote Down - 57 votes

  • Domain - forum.codecall.net

  • Category - C and C++/General Development

  • Submitted By - Shekhar

  • Submitted on - 2008-04-16 02:20:12

Description

Preprocessor directives are not program statements but directives for the preprocessor. They always start with a #(pound) symbol and are compiled before the execution of the main() function.

The compiler expects the preprocessor to be a single line of code. No semicolon is expected at the end of a preprocessor directive. In case a preprocessor directive has to extend beyond a single line this can be done by preceding the newline character at the end of the line by a backslash (\). ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements