What is "stack overflow"?


#1

I’ve encountered this term several times.
But I don’t understand what it means.


#2

@io_io gave the correct answer to the question. Apologies for posting in ignorance.


#3

The stack is a part of the memory where temporary variables are stored. It’s used by functions to keep their local variables. When the function is exited, the variables kept in the stack get pushed out.
When the stack is full and you keep adding data, big structures, etc, you create a stack overflow.
You’ll learn more in the C book.
And also there’s this site @zberwaldt talks about.