-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_twodlen.c
23 lines (20 loc) · 998 Bytes
/
ft_twodlen.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_twodlen.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: wdebs <wdebs@student.42.us.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/04/17 15:26:05 by wdebs #+# #+# */
/* Updated: 2017/04/17 15:28:22 by wdebs ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_twodlen(char **arr)
{
int i;
i = 0;
while (arr[i])
i++;
return (i);
}