Name: Anonymous 2013-08-14 20:16
how is my solution, /prog/-kun?
void
putwd(char *s)
{
while (*s && !isspace(*s))
putchar(*s++);
putchar(' ');
}
char *
cdr(char *s)
{
while (*s && !isspace(*s))
++s;
while (isspace(*s))
++s;
return *s ? s : NULL;
}
void
rprint(char *s)
{
if (cdr(s))
rprint(cdr(s));
putwd(s);
}
int
main(void)
{
rprint("anus my hax");
putchar('\n');
return 0;
}