Old MacDonald by tails

i;j;main(a,b,c){for(;i<4;puts(a)){a="Old MacDonald had a farm, E-I-E-I-O.\n";printf("%sAnd on his farm he had a %.5s%s",a,"cow\x00\x00sheepduck\x00pig"+i*5,a+24);for(j=++i;j--;printf("%s%s-%s here, and a%2$s-%3$s there.\nH%s, th%4$s, everywh%4$s-%3$s.\n",~j+i?"A":"With a",b+5,c,b))sprintf(b,"ere a%s %s","\x00\x00\x00n"+j,c="moo\x00\x00\x00baa\x00\x00\x00quack\x00oink"+j*6);}}

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

download

return to the top page