-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_tablen.c
More file actions
23 lines (20 loc) · 1007 Bytes
/
ft_tablen.c
File metadata and controls
23 lines (20 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tablen.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: yel-mota <yel-mota@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/08 16:22:41 by yel-mota #+# #+# */
/* Updated: 2025/04/08 16:22:42 by yel-mota ### ########.fr */
/* */
/* ************************************************************************** */
#include "so_long.h"
int ft_tablen(const char **s)
{
int i;
i = 0;
while (s[i] != NULL)
i++;
return (i);
}