Trigger a fatal error! Here's the file, countup.c:
#include <stdio.h> #define MAX 1000 int boom; int foo(n) { boom = 1 / (MAX-n+1); printf("%d\n", n); foo(n+1); } int main() { foo(1); } Compile, then execute on a shell prompt:
$ ./countup 1 2 3 ... 996 997 998 999 1000 Floating point exception $ This does indeed print the numbers from 1 to 1000, without any loops or conditionals!