A stack overflow occurs when: (1 point) Responses too much data is put in a heap. too much data is put in a heap. too many heaps are put in a stack. too many heaps are put in a stack. too many stacks are put in a heap. too many stacks are put in a heap. too much data is put in a stack. too much data is put in a stack.

1 answer

A stack overflow occurs when too much data is put in a stack. This typically happens when there is excessive use of the call stack, for example, due to deep or infinite recursion. Therefore, the correct response is:

too much data is put in a stack.