-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isalnum.c
More file actions
28 lines (25 loc) · 1.08 KB
/
ft_isalnum.c
File metadata and controls
28 lines (25 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+
+:+ */
/* By: marvin <marvin@student.42.fr> +#+ +:+
+#+ */
/* +#+#+#+#+#+
+#+ */
/* Created: 2023/09/12 18:44:27 by marvin #+# #+# */
/* Updated: 2023/09/12 18:44:27 by marvin ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalnum(int c)
{
return (ft_isalpha(c) || ft_isdigit(c));
}
// int main(void)
// {
// for(int i = 45; i <= 70; i++)
// printf("%c : %d\n", i, ft_isalnum(i));
// return (0);
// }