Simple Recursive Function In C