#define in c with example code:
What is the output of below c program?
#define YES NO
pre processing time error, invalid expression
compile time error, undefined variable NO
it prints YES, macros will not be expanded in a string quotation. we have to use stringize operator if we want to do so.
Back To Top