include<stdio.h>
main( )
{char a[2][4];
strcpy(a。"are");strcpy(a[1],"you");
a[o][3]=&;
printf("%s\n",a);
}
A.are&you
B.you
C.are
D.&
[单选题]下述程序的输出结果是#include<stdio.h>void main(){ int a[5]={2,4,6,8,10};int *p=a,**q=&p;printf("%d,",*(p++));printf("%d",**q); }A.4,4B.2,2C.4,5D.2,4
[单选题]下述程序的输出结果是#include<stdio.h>void main(){ int a[5]={2,4,6,8,10};int *p=a,**q=&p;printf("%d,",*(p++));printf("%d",**q); }A.4,4B.2,2C.4,5D.2,4
[单选题]下面程序的输出结果是()。#include<stdio.h>main(){ int a[4][5]={1,2,4,-4,5,-9,3,6,-3,2,7,8,4};int i,j,n;n=9;i=n/5;j=n-i*5-1;printf("a[%d][%d]=%d/n",i,j,a[i][j]); } 执行后输出结果是( )。A)a[1][3]=6 B)a[1][3]=-3C)a[1][3]=2 D)不确定
[单选题]执行下述程序后,输出的结果是( )。include<stdio.h>define S(X)X*Xvoid main{ int a=9,k=3,m=2;a/=S(k+m)/s(k+m);printf("%d",a);}A.1B.4C.9D.0
[试题]以下程序的输出结果是 ( 8 ) 。#include<stdio.h>main(){int i,j,sum;for(i=3;i>=1;i--){sum=0;for(j=1;j<=i;j++) sum+=i*j;}printf("%d/n",sum);}
[试题]以下程序的输出结果是 ( 9 ) 。#include<stdio.h>main(){ int j,a[]={1,3,5,7,9,11,13,15},*p=a+5;for(j=3;j;j--){ switch(j){ case 1:case 2:printf( " %d " ,*p++); break;case 3:printf( " %d " ,*(--p));}}}
[单选题]以下程序的输出结果是#include<stdio.h>main(){int a=15,b=21,m=0;switch(a%3){case 0:m++;break;case 1:m++;switch(b%2){ default:m++;case 0:m++;break; } }printf("%d/n",m);}A.1B.2C.3D.4
[单选题]下面程序的输出结果是#include<stdio.h>main(){ int a[]={1,2,3,4,5,6,7,8,9,0},*p;p=a;printf("%d/n",*p+9);}A.0B.1C.10D.9
[单选题]下面程序的输出结果是#include<stdio.h>main(){ int a[]={1,2,3,4,5,6,7,8,9,0},*p;p=a;printf("%d/n",*p+9);}A.0B.1C.10D.9
[单选题]如下程序的输出结果是#include<stdio.h>main(){ char ch[2][5]={"6937","8254"},*p[2];int i,j,s=0;for(i=0;i<2;i++) p[i]=ch[i];for(i=0;i<2;i++)for(j=0;p[i][j]>′/0′;j+=2)s=10*s+p[i][j]-′0′;printf("%d/n",s);}A.69825B.63825C.6385D.693825