题目内容

有以下程序,程序运行后的输出结果是( )void ss(char *s,char t){while (*s){if(*s==t) *s=t-'a'+'A' ;s++;}}void main(){char str1[100]="abcddfeedbd",c='d';ss(str1,c) ;printf("%s\n",str1);}

ABCDDEFEDBD
B. abcDDfefDbD
C. abcAAfefAbA
D. Abcddfefdbd

查看答案
更多问题

若定义了以下函数:void f( ){*p=(double*)malloc(10*siezof(double));.....}p是该函数的形参,要求通过p把动态分配存储单元的地址传回到主调函数,则形参p 的正确定义应当是( )

A. double *p
B. float **p
C. double **p
D. float *p

Match(英汉翻译连线)

eliminaterevealaccuratefacilitateexaggeratelaunchfrustrateconsciousappropriateimplyIf you promise you won't _______ my name, I will tell you the true story.

eliminaterevealaccuratefacilitateexaggeratelaunchfrustrateconsciousappropriateimplyAre you _____ that I am the one to blame? I didn't do anything wrong!

答案查题题库