What is "stack overflow"?

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

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

1 Like

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.

1 Like