$ cat > segv.c <<EOF int main() { return *((int*) 0); } EOF $ cc segv.c $ ./a.out Segmentation fault $ # Awesome! A segmentation fault!