Conditional Compilation
There may be situations when we went to compile some parts of the code based on some condition. We know that before compilation the source code passes through the preprocessor to supply only some parts of the code to the compiler for compilation.
These conditions are checked during the preprocessing phase. The directive used in conditional compilation are:
#ifdef
#ifdef
#if
#else
No comments:
Post a Comment