Which error results from unbounded recursion?
- A Heap exhaustion
- B Stack overflow
- C Segmentation fault in the data segment
- D Memory leak
Answer
Stack overflow
The stack is a fixed size set at thread creation, typically a few megabytes, so deep recursion exhausts it quickly.





