8 lines
91 B
C
Raw Normal View History

int strlen(const char* string)
{
int i;
i=0;
while (*string++) i++;
return i;
}