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

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


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

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

int     main(void)
{
        int **ptr;
        ft_ultimate_ft(ptr);
        printf("%d", **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: