The process of calling a function by itself is called recursion and the function which calls itself is called a recursive function.

Recursion Syntax :

Void function()
{
   function();
}

Void main()
{
      function();
}

Watch the Video Lecture


            Previous                                                                                                                       Next