Define recursion with example in c ?
Answers
Answered by
0
Answer:
Recursion is the process which comes into existence when a function calls a copy of itself to work on a smaller problem. Any function which calls itself is called recursive function, and such function calls are called recursive calls. ... For Example, recursion may be applied to sorting, searching, and traversal problems. ...
Answered by
0
Explanation:
Recursion is a programming technique that allows the programmer to express operations in terms of themselves. In C, this takes the form of a function that calls itself. A useful way to think of recursive functions is to imagine them as a process being performed where one of the instructions is to "repeat the process".
Similar questions