/*
Create a function that displays a string of characters on the standard output.
Here’s how it should be prototyped :
void ft_putstr(char *str);
*/

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

void ft_putstr(char *str);

int main(){

    char *str = "Hello";
    ft_putstr(str);

}

void ft_putstr(char *str){
    int i = 0;
    while(str[i])
        i++;
    write(1, str, i+1);
}

Embed on website

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