91-9990449935 0120-4256464 |
C #ifThe #if preprocessor directive evaluates the expression or condition. If condition is true, it executes the code otherwise #elseif or #else or #endif code is executed. Syntax: Syntax with #else: Syntax with #elif and #else: C #if exampleLet's see a simple example to use #if preprocessor directive. Output: Value of Number is: 0
Next TopicC #else
|