更新时间:2023-11-10 16:12:52
不涉及无限递归的典型情况是在堆栈上声明一个太大的自动变量.例如:
The typical case that does not involve infinite recursion is declaring an automatic variable on the stack that is too large. For example:
int foo() { int array[1000000]; }
你能举一个C++中堆栈溢出的例子吗?
你能举一个C ++堆栈溢出的例子吗?