/* This program demonstrates function recursion, where a function calls itself * We show what happens when a recursive function doesn't have an escape clause * That causes a segmentation fault (program is out of memory. * We also demonstrate the right way to write a recursive function. */ #include using namespace std; //to demonstrate segfauts //Recursive call without an escape void someFunction() { cout<<"Dormamu, I've come to bargain!!!"<>val; cout<<"The factorial is "<