Cross Product of two Strings by inaniwa

main(c,a,b)char*a,*b;{for(;gets(a);c=puts(""))for(;*a-32;a++)for(b=index(a,32);*++b;)c=!printf(" %c%c"+c,*a,*b);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page