Cross Product of two Strings by twobit

char*x,*y;main(a){for(;x=gets(&a);)for(;*x>32;x++)for(y=strchr(x,32);*++y;)printf("%c%c%c",*x,*y,x[1]+y[1]>32?32:10);}

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

download

return to the top page