單項選擇題

程序
#include ""stdio.h""
#define A 5+5
void main()
{
printf(""%d"",A*2);
}運(yùn)行后的輸出結(jié)果是()

A.20
B.15
C.25
D.30


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題帶參數(shù)的宏的定義格式是()

A.其它三項都不對
B.#define宏名(參數(shù)表)字符串
C.#define宏名(參數(shù)表)浮點數(shù)
D.#define宏名(參數(shù)表)整數(shù)