Syntax of #if directive as:
#if LABEL == 10
If we so desire, we can have nested conditional compilation directives.
Sometimes, it may be desirable to cause a defined name to become 'undefined'. This can be accmplished by means of the #undef directive.
Syntax: #undef macro_temp_name
example: #undef TEST
This is a special directive that we use to turn on or off certain features. Pragma vary from one compiler to another.
Turbo c/c++ compiler has got a pragma that allows you to suppress warnings generated by the compiler.
Some pragmas directives as following:
- #pragma startup and #pragma exit
- #pragma warn