// obfuscated C contest winner #ifdef ORIG main(v,c)char**c;{for(v[c++]="Hello,world!\n)";(!!c)[*c]&&(v--||--c&&execlp(*c,*c,c[!!c]+!!c,!c));**c=!c)write(!!*c,*c,!!**c);} #else void execlp(char*,char*,...); int write(int,char*,int); char str[] = "Hello,world!\n)"; // declare it as char[] to put it in .data and not .rodata int main(int i, char **c) { c[i] = str; c++; while ((*c)[1]) { if (i==0) { c--; execlp(*c, *c, c[1]+1, 0); } i--; if (**c) write(1, *c, 1); //else write(1, *c, 0); **c = 0; } } #endif