first commit
This commit is contained in:
11
ended/C01/ex06/ft_strlen.c
Normal file
11
ended/C01/ex06/ft_strlen.c
Normal file
@ -0,0 +1,11 @@
|
||||
int ft_strlen(char *str)
|
||||
{
|
||||
int i;
|
||||
|
||||
i = 0;
|
||||
while (str[i] != '\0')
|
||||
{
|
||||
i++;
|
||||
}
|
||||
return (i);
|
||||
}
|
Reference in New Issue
Block a user