#include <stdio.h>
#include <string.h> //字符串处理头文件
#include <stdlib.h>
int main()
{
char *s="Golden Global View";
printf("%s has %d chars\n",s,strlen(s));
system("pause");
return 0;
}
实例30 字符串长度的统计
最新推荐文章于 2024-03-14 12:41:42 发布