现有如下程序段main(){ int a[5][6]={23,3,65,21,6,78,28,5,67,25,435,76,8,22,45,7,8,34,6,78,32,4,5,67,4,21,1};int i=0,j=5;printf("%d\n",*(&a[0][0]+2*i+j-2));}则程序的输出结果为
A. 21
B. 78
C. 23
D. 28
现有如下程序段 main() {char a[]="acfijk"; /*这里是有序的字符序列*/char b[]="befijklqswz"; /*这里是有序的字符序列*/char c[80],*p;int i=0,j=0,k=0;while(a[i]!='\0' && b[j]!='\0'){ if(a[i]b[j]) c[k++]=b[j++];else { c[k++]=b[j++]; i++; }}while(a[i]=='\0' && b[j]!='\0') c[k++]=b[j++];while(a[i]!='\0' && b[j]=='\0') c[k++]=a[i++];c[k]='\0';puts(c);} 则输出结果是
A. acfijkbefijklqswz
B. abceffiijjkklqswz
C. befijklqswzacfijk
D. abcefijklqswz
阅读下面程序,则执行后输出的结果为 voidfun(int*a,int*b){ intm;m=(*a+*b)*(*a+*b);m+=(*a-*b)*(*a-*b);printf("%d\n",m);} main() { inta=5,b=6,*x=&a,*y=&b;fun(x,y);}
A. 120
B. 121
C. 122
D. 123