pushswap/libft/tests/mandatory/strrchr/test5.c
2023-10-26 19:09:02 +02:00

28 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* test5.c :+: :+: */
/* +:+ */
/* By: houtworm <codam@houtworm.net> +#+ */
/* +#+ */
/* Created: 2023/02/21 02:56:39 by houtworm #+# #+# */
/* Updated: 2023/10/18 17:16:50 by houtworm ######## odam.nl */
/* */
/* ************************************************************************** */
#include "../../tmp/libft.h"
#include <stdio.h>
#include <string.h>
int main(void)
{
char *s;
int c;
s = NULL;
c = 'l';
if (ft_strrchr(s, c))
return (1);
return (0);
}