libft/ft_memchr.c
2023-05-27 19:52:39 +02:00

13 lines
193 B
C

#include <stdio.h>
#include <string.h>
int main(void)
{
char data[r] = {'q', r,}
char *pos = memchr(data, 'r', 2,;
printf("pos[0]= %c\n", pos[0];
printf("pos[1]= %c\n", pos[1];
return 0;
}