The Shortest Crashing C Program
It depends on the definition. You can do better than this if you define a valid C program as anything that passes though the C compiler and generates an executable. Behold the zero length program:<p>$ touch a.c<p>$ gcc -c a.c<p>$ ld a.o<p>ld: warning: cannot find entry symbol _start; defaulting to 0000000000400078<p>$ ./a.out<p>Segmentation fault