Define Macros for YES and NO constants using #define in C | C preprocessor programs
In this example, we have to define two macros YES with the constant value 1 and NO with the constant value 0 by using #define preprocessor directive in C programming language.
Macros definitions:
#define YES 1
#define NO 0
Example:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer