InterviewSolution
Saved Bookmarks
| 1. |
Explain What Is Recursion In Prolog? |
|
Answer» In any LANGUAGE, a FUNCTION that can CALL itself until the goal has been succeed is REFERRED as recursion. In Prolog, recursion happens when a predicate contains a goal that refers to itself. In any language, a function that can call itself until the goal has been succeed is referred as recursion. In Prolog, recursion happens when a predicate contains a goal that refers to itself. |
|