Functions & RecursionLast Updated: Aug 21, 2026
c programmingrecursionfunctionsfactorial
Compiling...
In the previous note, we learned that a function can call another function. For example, main() can call addNumbers().
But what happens if a function calls... itself?
In C, a function is allowed to call itself. This process is known as Recursion, and a function that calls itself is called a Recursive Function.