We should take care _________ ourselves. [ ]
A. to
B. with
C. of
D. for
答案:C
给定程序中,函数fun的功能是:将形参s所指字符串中的所有数字字符顺序前移,其他字符顺序后移,处理后新字符串的首地址作为函数值返回。 例如,s所指字符串为:asdl23fgh5##43df, 处理后新字符串为:123543asdfgh##df。 注意:部分源程序给出如下。 请勿改动主函数main和其他函数中的任何内容,仅在函数fun的行线上填入所编写的若干表达式或语句。 [试题源程序] #include<stdio.h> #include<string.h> #include<stdlib.h> #include<ctype.h> char*fun(Char*s) int i,j,k,n;char *p,*t; n=strlen(s)+1; t=(char*)malloc(n*sizeof(char)); p=(char*)malloc(n*sizeof(char)); j=0;k=0; for(i=0;i<n;i++) if(isdigit(s[i])) /**********found**********/ p[ (1) ]=s[i];j++; else t[k]=s[i];k++; A*********found**********/ for(i=0;i< (2) ;i++)p[j+i]=t[i]; p[j+k]=0; /**********found**********/ return (3) ; main() char s[80]; printf("Please input:");scanf("%s",s); printf("\nThe result is: %s\n",fun(s));
∮16P7/h6的含义是:∮16表示______,P表示______,h表示______,7表示______,该配合尺寸属于______制的______配合。