Is there a defined behavior for handling a stack overflow?
Apart from terminating the process, it doesn’t seem like there’s a whole lot that can be done. I’m just wondering if anyone might know what the C standard has to say about it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The standard does not require the use of a stack, and has nothing to say about stack overflows.