Sneaker's Stub – The Grey Stuff!

Program to find factorial of a number using function in C language

Below is the program to find factorial of a number using function in C language. The program has been compiled and executed in Dev C++. The function is a block of code that is specifically designed to do a certain task. Here, the function is taking an argument and calculating the factorial returning its resulting value. Function may or may not return a value explicitly. But it will always return an exit code depending on execution.