+1 vote
in Prolog by
Explain What Is Recursion In Prolog?

1 Answer

0 votes
by
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.

Related questions

0 votes
asked Mar 3, 2021 in Prolog by SakshiSharma
+1 vote
asked Mar 3, 2021 in Prolog by SakshiSharma
...