下面程序的运行结果是:()。main(){int a[][3]={1,2,3,4,5,6};printf("%d",a[1][1]);}
查看答案
下面程序的运行结果是:()。main(){char s1[20]="Good!";char s2[15]="AB";printf("%d",strlen(strcpy(s1,s2)));}
A. 20
B. 15
C. 5
D. 2
下面程序的运行结果是:()。main(){int x[]={22,33,44,55,66,77,88};int k,y=0;for (k=1;k<=4;k++)if (x[k]%2==1)y++;printf("%d",y);}
A. 0
B. 1
C. 2
D. 3
下面程序的运行结果是:()。main(){int a[3][3]={{1,2},{3,4},{5,6}},i,j,s=0;for(i=1;i<3;i++)for(j=0;j
A. 14
B. 19
C. 20
D. 21
下面程序的运行结果是:()。main(){char s[]="ab1c2d4e";int i;i=0;while(s[i]!='\0'){if(s[i]>='a'&&s[i]<='z')printf("%c",s[i]);i++;}}
A. ab
B. ab1c2d4e
C. abcde
D. a