What is recursion? A recursive procedure should have two properties. What are they? (4)
Ans :
Recursion means function call itself repeately .
Properties :
(1) There must be some base case where the condition end .
(2) Each recursive call to the procedure involve a smaller case of the problem .
No comments:
Post a Comment