How to check whether macro is defined or not in a C program?

Short Answer
Views 620

Answer:

#ifdef pre-processor directive checks whether particular macro is defined or not in a C program.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.