单项选择题

串的长度是()。

A、串中不同字符的个数
B、串中不同字母的个数
C、串中所含字符的个数且字符个数大于0
D、串中所含字符的个数

<上一题 目录 下一题>
热门 试题

单项选择题
下面程序的输出结果是()。 #include<stdio.h> main() char *p[]= BOOL , OPK , H , SP ; int i; for(i=3;i>=0;i-,i-) printf( %c ,*p[i]); printf( n );

A、 SO
B、 SP
C、 SPOPK
D、 SHOB

单项选择题
下面的程序执行后,文件test.t中内容是()。 #include<stdio.h> void fun(char *fname,char *st) FILE *myf; int i; myf=fopen(fname, w ); for(i=0;i<strlen(st);i++)fputc(st[i],myf); fclose(myf); main() fun( test.t , new world );fun( test.t , hello, );

A、 hello,
B、 new worldhello
C、 new world
D、 hello,rld

相关试题
  • 以下程序中函数huiwen的功能是检查一个字符...
  • x和y都是double型变量,x的初值为4.0,y...
  • 以下程序的运行结果为______。#defi...
  • 下列程序的功能是:求出ss所指字符串中指定...
  • 与表达式a+=b等价的另一书写形式是___...