105k views
1 vote
When is a base case needed for recursive processing?

1 Answer

5 votes

Answer: Recursive processing or recursion is the technique in which a code calls itself in the same program in a direct or indirect manner in the computer program field.In general ,a stage of the procedure appeals the procedure itself.

Base case is the case required for the stopping of the recursion.After termination the returning process starts with the help of hierarchy calling. If there is no occurrence of base,then infinite recursion can take place.

User Jonathan Wickens
by
5.7k points