单项选择题
以下程序的输出结果是( )。 #include<stdio.h> main() {int a=1,b=3; if((++a<0)&&!(b--<=0)) printf("%d,%d\n",a,b); else printf("%d,%d\n",b,a);}
A.2,2
B.1,3
C.3,2
D.3,1
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下面程序的输出结果是( )。 #include<stdio.h> main() {int x=7,y=3; printf( %d ,y=x y); }
A.0
B.2
C.3
D.不确定的值
点击查看答案&解析
单项选择题
下面程序的输出结果是( )。 #include<stdio.h> #include<string.h> main() {char p1[]= WHO ,p2[]= who ,str[50]= xyz ; strcpy(str+1,strcat(p1,p2)); printf( %s ,str);}
A.xyzWHOwho
B.zWHOwho
C.zWHOwho
D.xWHOwho
点击查看答案&解析
相关试题
有以下程序: #include<string.h> in...
若运行以下程序时,从键盘输入ADescriptor...
有以下程序: #include<string.h> vo...
下面程序段的运行结果是( )。 #includ...
下述程序的输出结果是( )。 #include...