/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_ultimate_ft.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: lclerel- +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/03/09 16:52:51 by lclerel- #+# #+# */ /* Updated: 2026/03/09 17:29:03 by lclerel- ### ########.fr */ /* */ /* ************************************************************************** */ #include /*void ft_putnbr(int nb) { char value; if (nb == -2147483648) { write(1, "-2147483648", 11); return ; } if (nb < 0) { write(1, "-", 1); nb = -nb; } if (nb > 9) { ft_putnbr(nb / 10); } value = nb % 10 + '0'; write(1, &value, 1); }*/ void ft_ultimate_ft(int *********nbr) { *********nbr = 42; } /*int main(void) { int a; int *ptr1; int **ptr2; int ***ptr3; int ****ptr4; int *****ptr5; int ******ptr6; int *******ptr7; int ********ptr8; int *********ptr9; a = 0; ptr1 = &a; ptr2 = &ptr1; ptr3 = &ptr2; ptr4 = &ptr3; ptr5 = &ptr4; ptr6 = &ptr5; ptr7 = &ptr6; ptr8 = &ptr7; ptr9 = &ptr8; write(1, "Avant : ", 8); ft_putnbr(a); write(1, "\n", 1); write(1, "Apres : ", 8); ft_ultimate_ft(ptr9); ft_putnbr(*********ptr9); write(1, "\n", 1); return (0); }*/