📅  最后修改于: 2022-03-11 15:04:40.160000             🧑  作者: Mango
代码示例1
#include
int main()
{
char s[] = "Dhiraj";
int i=0;
while(s[i] != '\0')
{
i++;
}
printf("length of string is %d", i);
return 0;
}