程序 #include ""stdio.h"" #define A 5+5 void main() { printf(""%d"",A*2); }運行后的輸出結(jié)果是()
A.20 B.15 C.25 D.30
A.其它三項都不對 B.#define宏名(參數(shù)表)字符串 C.#define宏名(參數(shù)表)浮點數(shù) D.#define宏名(參數(shù)表)整數(shù)
已知代碼如下: #include ""stdio.h"" #define AA(a,b,c) a*b*c void main() { printf(""%d"",AA(2+2,3,1+2)); } 程序的運行結(jié)果是()
A.10 B.20 C.36 D.30