#include <unistd.h>
#include <stdio.h> //DD

void    ft_ultimate_ft(int *********nbr);
void    ft_putchar(char c); 

//3DD
void    ft_putchar(char c)
{
        write(1, &c, 1); 
}

void    ft_ultimate_ft(int *********nbr)
{
        int     ********nbr;
        int     *******nbr;
        int     ******nbr;
        int     *****nbr;
        int     ****nbr;
        int     ***nbr;
        int     **nbr;
        int     *nbr;
        int     nb; 
        nb = 42; 
        *nbr = &nb;
}

int     main(void)
{
        int *********ptr;
        ptr = NULL;
        ft_ultimate_ft(&ptr); //pass the adr of ptr



        return (0);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: