#include <unistd.h>
void ft_putstr(char *str)
{
while (*str)
write(1, str++, 1);
}
int main(int ac, char **av)
{
int arg;
arg = (ac - 1);
if (arg > 0)
{
ft_putstr(av[arg]);
write(1, "\n", 1);
}
else
write(1, "\n", 1);
return (0);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: