[单选题]下面程序的输出结果是#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>#include<string.h>main(){ char *p1="abc",*p2="ABC",str[50]= "xyz";strcpy(str+2,strcat(p1,p2));printf("%s/n",str);}A.xyzabcABCB.zabcABCC.xyabcABCD.yzabcABC
[试题]以下程序的输出结果是 ( 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(){ 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
[单选题]如下程序的输出结果是#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
[单选题]下述程序的输出结果是#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