网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
有以下程序
#include
main()
{ int x=011;
printf("%d\n",++x);
}
程序运行后的输出结果是
A.12
B.11
C.10
D.9
参考答案
更多 “ 有以下程序#includemain(){ int x=011;printf(%d\n,++x);}程序运行后的输出结果是A.12B.11C.10D.9 ” 相关考题
考题
有以下程序#include stdio.hfun(int x){ if(x/20) f un(x/2);printf("%d ",x);}main(){ fun(6);printf("\n"); }程序运行后的输出结果是 【 1 5 】 。
考题
有以下程序: #includestdio.h main( ) {int X=011; printf("%d\n",++x); } 程序运行后的输出结果是( )。A.12B.11C.10D.9
考题
有以下程序includeint fun(int x;int y){if(x=y)reurn(x); elsereturn((x+y)/2);}main
有以下程序 #include<stdio.h> int fun(int x;int y) { if(x=y)reurn(x); else return((x+y)/2); } main() { int a=4,b=5,c=6; printf("%d\n",fun(2*a,fun(b,c))); } 程序运行后的输出结果是______。A.3B.6C.8D.12
考题
以下程序运行后的输出结果是( )。 include main() { int x=20; printf("%d", 0
以下程序运行后的输出结果是( )。include<stdio.h>main(){ int x=20;printf("%d", 0<x<20);printf("%d\n", 0<x x<20);}
考题
有以下程序 include struct st { int x,y;} data[2]={1,10,2,20}; main(
有以下程序 #include <stdio.h> struct st { int x,y;} data[2]={1,10,2,20}; main() { struct st *p=data; printf("%d,",p->y); printf("%d\n",(++p)->x); } 程序的运行结果是______。A.10,1B.20,1C.10,2D.20,2
考题
有以下程序:includemain(){int x=3,y=2,z=1; printf("%d\n",x/y~z);程序运行后的
有以下程序: #include <stdio.h> main() { int x=3,y=2,z=1; printf("%d\n",x/y~z); 程序运行后的输出结果是( )。A.3B.2C.1D.0
考题
有以下程序:includefun(int x,int y,int z){z=x*y;}main(){int a=4,b=2,c=6; fun(a,b,
有以下程序: #include <stdio.h> fun(int x,int y,int z) { z=x*y;} main() { int a=4,b=2,c=6; fun(a,b,c); printf("%d",c); } 程序运行后的输出结果是( )。A.16B.6C.8D.12
考题
(18)有以下程序#include stdio.hmain(){ int x=011;printf("%d\n",++x);}程序运行后的输出结果是A)12B)11C)10D)9
热门标签
最新试卷