E-con interview question

Program to find factorial of a given number using recursive function and explain how the stack stores the data.