Recursive main() - why does it segfault?

后端 未结 6 769
青春惊慌失措
青春惊慌失措 2021-01-02 07:49

Why does the following program segfault?

int main() { main(); }

Even though it is a recursion that does not end and is therefore invalid by

6条回答
提交回复
热议问题