Recursive main() - why does it segfault?
- by user299831
Why does the following programm segfault?
int main() { main(); }
Even though it is a recursion that does not end and therefore invalid by definition, I don't see why it segfaults (gcc 4.4.3 and clang 1.5 (trunk)).