Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 14786
Total Votes: 149 votes
Category: C and C++/General Development
Submitted on: 2008-04-16 02:20:12
Submitted By: Shekhar
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 (\). More detail...