Content deleted Content added
HeyElliott (talk | contribs) Clean up/copyedit |
simplify variable names in 2 examples |
||
Line 74:
int strlen(const char *s)
{
int
if (s == NULL)
return 0;
while (s[
}
return
}
</syntaxhighlight>
Line 87:
int strlen(const char ? s)
{
int
if (s == NULL)
return 0;
for (
if (*s == '\0')
return
}
return n;
|