Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial

Recursive Prompting - What is a recursive function with an example?


A function that uses its own value as a parameter to create new values. The execution of a function causes it to invoke itself. Using a real-world example might help you grasp the idea of recursion. For the sake of argument, let's say you're going to the first level by way of the stairs.