有以下程序 #define N 5 #define M N+1 #define f(x) (x*M) main() {

分类: 2019江中知识赛B(看题模式) 发布时间: 2023-12-01 12:13 浏览量: 0

有以下程序 #define N 5 #define M N+1 #define f(x) (x*M) main() {int i1,i2; i1=f(2); i2=f(1+1); printf(“%d %d\n”,i1,i2); } 程序的运行结果是()。

A.12 12

B.11 7

C.11 11

D.12 7

E.B

F.1

正确答案是B