Comment Re:Without the use of a loop!? (Score 1) 438
int rand(void); int printf(const char * f,
...); int main() { ten: printf("%c", (rand() % 2) ? 47 : 92); goto ten; }
GCC also compiles the above code to an a.out without further modification if you place it in a file named "main.c" and run "gcc main.c". Or even:
echo 'int rand(void); int printf(const char * f,
...); int main() { ten: printf("%c", (rand() % 2) ? 47 : 92); goto ten; }' | gcc -x c -