Starting Vocational Training From 1-May-2024 Get Detail


C language

Preprocessor directive
1.

Example of #pragma


Solution
2.

Example of #if, #elif, #else and #endif preprocessor directives.


Solution
3.

Example of #ifdef and #ifndef .


Solution
4.

Example program for parameterized macro like function.


Solution
5.

Example program for #undef preporcessor.


Solution
6.

How to define compile time constants using #define?


Solution