以下程序的输出结果是()。#include#defineSUB(X,Y)(X)*Ymain(){inta=3,b=4;printf("%d\n",SUB(a++,b++));}span>
查看答案
下面程序的输出结果是()。#includefunc(inta,intb){intc;c=a+b;returnc;}main(){intx=6,y=7,z=8,r;r=func((x--,y+=2,x+y),z--);printf("%d\n",r);}
A. 11
B. 20
C. 21
D. 22
写出下面程序结果___(1)____,并上机验证。#include"stdio.h"main(){inti,n[]={0,0,0,0,0};for(i=1;i<=2;i++){n[i]=n[i-1]*3+1;printf("%d",n[i]);}printf("\n");}
阅读分析下面程序,写出运行结果___(1)______。#includevoidsort(inta[],intn){inti,j,t;for(i=0;i
下面程序的输出结果是___(1)______。#include#includemain(){charx[]="one";x[0]=0;x[1]='\0';x[2]='0';printf("%d%d",sizeof(x),strlen(x));//输出数据用空格隔开}