Functions & recursions


Function: A function is a block of code that performs a specific task. C allows programmer to define functions according to their need. These functions are known as user-defined functions. Recursion: A function that calls itself is known as a recursive function. And, this technique is known as recursion.