下列程序执行后的输出结果是()voidfunc1(inti);voidfunc2(inti);charst()="hello,friend!";voidfunc1(inti){printf("%c",st【i】);if(i
A.hello
B.hel
C.hlo
D.hlm
C、hlo
A.hello
B.hel
C.hlo
D.hlm
C、hlo
下列程序执行后的输出结果是()
main()
{int x='C';printf("%d\n",'A'-x+3);)
A.1
B.2
C.3
D.5
执行下列程序段后的的输出结果是() x=9; while(x>7) { printf("*");x--;}
A.****
B.***
C.**
D.*
若定义define PI 3.14159,则执行完下列程序后输出结果是______。 define PI 3.14159;printf("PI=%P",PI);
A.0.2
B.0.4
C.0.7
D.1
下列程序执行后的输出结果是______。 main() { int m[][3]={1,4,7,2,5,8,3,6,9}; int i,k=2; for(i=0;i<3;i++) {printf("%d",m[k][i]);} }
A.456
B.258
C.369
D.789
执行下列程序段后输出的结果是() int x,y,z=1; for(x=1,y=-1;x<y;x++,y--)z++; printf("%d\n",z);
A.1
B.2
C.5
D.6
下列程序执行后输出的结果是______。 int d=1; fun(int p) { int d=5; d+=p++; printh("%d,",d); } main() { int a=3; fuin(a); d+=a++; printf(:%d\n",d); }
A.8,12
B.9,13
C.8,4
D.9,5
A.k=0,m=5
B.k=0,m=3
C.k=1,m=5
D.k=1,m=3
有以下程序片段,请问执行后的输出结果是【 】。 int n=10; while(n>7) { printf("%d",n- -); }
有下列程序: main() {int i,j,x=0; for(i=0,i<2;i++) {x++; for(j=0;j<=3;j++) {if(j%2)continue; x++: } x++: } printf("x=%d\n"x); } 程序执行后的输出结果是()。
A.x=4
B.x=8
C.x=6
D.x=12