diff --git a/strs2.c b/strs2.c index ebaa901..208b1be 100644 --- a/strs2.c +++ b/strs2.c @@ -7,6 +7,7 @@ int _strlen(char *s) { int c; + for (c = 0; s[c] != 0; c++) ; return (c);