#include <unistd.h>
int main(int ac, char **av)
{
int i;
i = 0;
if (ac == 2)
{
while (av[1][i] == ' ' || av[1][i] == '\t')
i++;
while (av[1][i] != '\0' && av[1][i] != ' ' && av[1][i] != '\t')
{
write(1, &av[1][i], 1);
i++;
}
}
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: