//
#include <unistd.h>
#include <string.h>
//
void    ft_putstr(char *str)
{
        int     i;

        i = 0;
        while (str[i] != '\0')
        {
                write(1, &str[i], 1);
                i++;
        }
}

int     main(void)
{
        char    *ptr;
        char    str[7];
        strcpy(str, "Hello!");
        ptr = str;
        ft_putstr(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: