單項(xiàng)選擇題

請(qǐng)讀程序:
# define AD(x) x + x
main ()
{int m = 1, n = 2 , k = 3 ;
int sum = AD( m + n )*k ;
printf ( "" sum = % d "", sum ); }
上面程序的運(yùn)行結(jié)果是()

A.sum=9
B.sum=10
C.sum=12
D.sum=18


您可能感興趣的試卷