42_C_PISCINE/BSQ/ft_tablen.c
Camille Chauvet 29ed24d567 init
2023-05-17 16:45:25 +00:00

22 lines
1001 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tablen.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lflandri <lflandri@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/08/02 11:04:59 by cchauvet #+# #+# */
/* Updated: 2022/08/02 14:30:16 by lflandri ### ########.fr */
/* */
/* ************************************************************************** */
unsigned int ft_tablen(char **tab)
{
unsigned int i;
i = 0;
while (tab[i][0] != 0)
i++;
return (i);
}