单项选择题

串的长度是()。

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

相关试题
  • 以下程序中C的二进制值是()。 char a=...
  • 有以下程序: #include<stdio.h> mai...
  • 以下叙述中正确的是()
  • 以下选项中可用做C程序合法实数的是()。
  • 以下程序运行后,输出结果是()。 main(...