單項選擇題
#include
#define MIN -40
main()
{
int x=20,y=10;
#if(MIN
#else
printf(""%d\n"",y);
#endif
} 程序運行結果是()
A.不確定
B.-40
C.10
D.20
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題
#include ""stdio.h""
#define S(a,b) a+b*2
void main()
{
printf(""%d"",S(3,2+1));
}以上程序執(zhí)行后的結果是()
A.9
B.8
C.6
D.7
2.單項選擇題
程序
#include ""stdio.h""
#define A 5+5
void main()
{
printf(""%d"",A*2);
}運行后的輸出結果是()
A.20
B.15
C.25
D.30