单项选择题
以下程序的输出结果是()。
#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
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
执行以下程序后i的值为()。 main() int x,i; for(i=l,x=1;i<=36;i++) if(x>=20) break; if(x%5==1) x+=5;continue; x-=5; ) printf( %d ,i);
A、 3
B、 4
C、 5
D、 6
点击查看答案&解析
单项选择题
下列程序执行后的输出结果是: main() char arr[2][4]; strcpy(arr' you ); strcpy(arr[1], me ); arr[0][3]='&'; printf( %s n ,arr); 程序的输出结果是()。
A、 you&me
B、 me
C、 you
D、 err
点击查看答案&解析
相关试题
设有以下语句: char x=3, y=6, ...
有以下程序: int *f(int *x,int*y...
有以下程序: main() char s[]= n...
程序中若有如下说明和定义语句 char fun...
有以下程序 #include <stdio.h> mai...