Is Not a Preprocessor Directive?

Is Not a Preprocessor Directive?

Explanation: #ifelse is not a preprocessor directive. ... There is a preprocessor directive, #elif, which performs the function of else-if.

What is an example of preprocessor directives?

Examples of some preprocessor directives are: #include, #define, #ifndef etc. Remember that # symbol only provides a path that it will go to the preprocessor, and command such as include is processed by preprocessor program. For example, include will include extra code to your program.

What a preprocessor directive is?

Preprocessor directives are lines of the source file where the first non-whitespace character is # , which distinguishes them from other lines of text. The effect of each preprocessor directive is a change to the text and the result is a transformation of the text that does not contain the directives nor comments.

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.