Meaning of a stack overflow in C programming [duplicate]
问题 This question already has answers here : What and where are the stack and heap? (29 answers) Closed 6 years ago . Here is the code below: #include <stdio.h> int main() { printf("Stack Overflow"); main(); } After compiling and executing this program it will print "Stack Overflow" until its stack overflows. Here, I know what a stack overflow means, that means it will print until memory is full. My question is which memory is it? What is the size of the stack that is overflowing? 回答1: which