题目内容

以下程序的运行结果是________。#include main(){int a[]={1,2,3,4,5,6};int *p=a;printf("%d,",*p);printf("%d,",*(++p));printf("%d,",*++p);printf("%d,",*(p--));p+=3;printf("%d,%d\n",*p,*(a+3));}

A. 1,2,3,3,2,1
B. 1,2,3,3,5,4
C. 1,3,5,3,3,3
D. 1,3,5,5,3,1

查看答案
更多问题

以下程序的运行结果是_______。#include main(){char str[2][5]={"7045","9265"},*a[2];int i,j,s=0;for (i=0;i<2;i++)a[i]=str[i];for (i=0;i<2;i++)for (j=0;a[i][j]>'0' && a[i][j]<='9';j+=2)s=10*s+a[i][j]-'0';printf("%d\n",s);}

A. 7496
B. 70936
C. 74936
D. 704936

以下程序的运行结果是______。#include main(){static char c[]="china";char *p=c;while (*p)printf("%c",*p++-32);printf("\n");}

A. china
B. CHINA
C. ch
D. 陷入死循环

以下程序的运行结果是________。#include main(){char *pp[2][3]={"abc","defgh","ijkl","mnopqr","stuvw","xyz"};printf("%c",***(pp+1));printf("%c",**pp[0]);printf("%c",(*(*(pp+1)+1))[4]);printf("%c",*(pp[1][2]+2));printf(",%s\n",**(pp+1));}

A. mawz,defgh
B. mawz,mnopqr
C. adim,defgh
D. adim,mnopqr

护士用平车运送时,患者头部卧于大轮端的原因是

A. 大轮平稳
B. 大轮噪音小
C. 大轮推动省力
D. 大轮转弯灵活,减轻病人运送中的不适
E. 大轮摩擦力小

答案查题题库