The C Preprocessor: Conditional Syntax

Next: Deleted Code, Previous: Conditional Uses, Up: Conditionals   [Contents][Index]


4.2 Conditional Syntax

A conditional in the C preprocessor begins with a conditional directive: ‘#if’, ‘#ifdef’ or ‘#ifndef’.

• Ifdef:   
• If:   
• Defined:   
• Else:   
• Elif: