填空题
以下函数的功能是删除字符串s中的所有数字字符。请填空。 viod dele(char *s) { int n=0,i; for(i=0;s[i];i++) if(【 】) s[n++]=s[i]; s[n]=【 】; }
【参考答案】
s[i]<=’0’‖s[i]>=’9’=
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是【 】。main( ){ int x=1,y=0,a=0,b=0;switch(x){case 1:switch(y){ case 0:a++; break;case 1:b++; break;}case 2:a++;b++; break;}printf( %d %d n ,a,b);}
点击查看答案
填空题
下面程序由两个源程序文件:t4.h和t4.c组成,程序编译运行的结果是:【 】。t4.h的源程序为:#define N 10 #define f2(x) (X*N)t4.c的源程序为:#include #define M 8#define f(x) ((x)*M)#include t4.h main(){int i,j;i=f(1+1);j=t2(1+1);printf( %d%d\n ,i,J);}
点击查看答案&解析
相关试题
以下程序运行后的输出结果是【 】。#incl...
以下程序段的输出结果是【 】。int i=9...
一个关系表的行称为【 】。
按 先进后出 原则组织数据的数据结构是【...
已定义charch=′$′;inti=1,j;,执...