Tutorials Shared by the Internet Community
Total Hits - 32292
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
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 (\). More detail...