题目内容

int X;void A(){X=2;}main(){X++;++X;printf("%d\n",X);A();X++;printf("%d\n",X);}输出结果为:____

查看答案
更多问题

fun(int a, int b){return(a

int x;void plusone(){x++;}main(){x=1;plusone();plusone();printf("x=%d\n",x);}输出结果为:______

int f(){int sum=0;static int x=1;return sum+=x++;}main(){int i;for(i=1;i<=3;i++)printf("%d",f());}输出结果为:_____

fun(int x,int y){static int m=0,I=2;I+=m+1;m=I+x+y; return m;}main(){int j=1,m=1,k;k=fun(j,m); printf("%d",k);k=fun(j,m); printf("%d\n",k)}输出结果为:____

答案查题题库