I think maybe OP wants to ask about the status of "# COND_A && COND_B" and not "#ifdef COND_A & & COND_B" ...
They are also different. "#if COND_A & & COND_B" can judge a logical expression, for example:
#if 5+1==6 && 1+1==2 .... #endif
a variable in your code can also be used in this macro status:
int a = 1; #if a==1 ... #endif
Cheeray Jan 29 '13 at 13:36 2013-01-29 13:36
source share