当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

请读程序:#include#defineSUB(X Y)(X)*Ymain(){int a=3 b=4; printf(\%d\n SUB(a++ b+


请读程序: #include <stdio.h> #define SUB(X,Y) (X)*Y main() { int a=3,b=4; printf("%d\n",SUB(a++,b++)); } 上面程序的输出结果是()。

A.12

B.15

C.16

D.20

请帮忙给出正确答案和分析,谢谢!

参考答案
您可能感兴趣的试题
  • 有如下程序: #include<iostream> void fun(int&x,int y){int t=x;x=y;y=t;} int ma

  • (27)有以下程序#include <stdio.h>main(){ int x=1,y=0;if(!x) y++;else if(x==0)if (x) y

  • 有以下程序#include "stdio.h"#define M(x,y) (x)*(y) #define N(x,y) (x)/(y) main(){ int a=5,

  • 阅读下列程序段 则程序的输出结果为 #include stdio.h #define M(X Y)(X)*(Y) #define N(X Y)(

  • 请读程序:#includefunc(int a int b) { int c; c=a+b; return c;}main(){ int x=6 y=7

  • 请读程序:#includefunc(int a int b){int c; c=a+b; return c;}main(){int x=6 y=7 z=