Can you give an example of stack overflow in C++? Other than the recursive case:
void foo() { foo(); }
Please see Stack overflow - Wikipedia. I have linked directly to the examples section.