Computer Science, asked by snchobi9772, 11 months ago

Write any four preprocessor statements in a procedural language in c

Answers

Answered by DevangSharma25
0

Answer:

(1) #define

Substitutes a preprocessor macro.

(2) #include

Inserts a particular header from another file.

(3) #undef

Undefines a preprocessor macro.

(4) #ifdef

Returns true if this macro is defined.

(5) #ifndef

Returns true if this macro is not defined.

(6)  #if

Tests if a compile time condition is true.

(7)  #else

The alternative for #if.

(8)  #elif

#else and #if in one statement.

(9) #endif

Ends preprocessor conditional.

(10)  #error

Prints error message on stderr.

(11)  #pragma

Issues special commands to the compiler, using a standardized method.

Explanation:

Similar questions