📅  最后修改于: 2022-03-11 14:55:24.539000             🧑  作者: Mango
int strLen(char *s)
{
int *p = s;
while(*p !=’\0’)
{
p++; /* increase the address until the end */
}
Return p – s; /* Subtract the two addresses, end - start */
}