/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* strncpy.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet #include int main(void) { char dest1[10]; char src1[10] = "test"; strncpy(dest1, src1, 2); printf("%s", dest1); printf("\n"); char dest2[10]; char src2[10] = "test"; ft_strncpy(dest2, src2, 2); printf("%s", dest2); } */