recursive subroutine
recursive subroutine A subroutine that calls itself. Such a self-referential call must occur as one branch of a conditional statement, otherwise there would be an infinite series of calls. As an example, a recursive subroutine to calculate factorial (n) would call itself to calculate factorial (n – 1), unless n = 1 when the value 1 will be returned.
More From encyclopedia.com
Factorial , Factorial
The number n! is the product 1×2×3×4×…× n, that is, the product of all the natural numbers from 1 up to n, including n itself where 1 is a… Factory , factory •beery, bleary, cheery, dearie, dreary, Dun Laoghaire, eerie, eyrie (US aerie), Kashmiri, leery, peri, praemunire, query, smeary, teary, theo… Mahon , Mahon •Abadan, Abidjan, Amman, Antoine, Arne, Aswan, Avon, Azerbaijan, Baltistan, Baluchistan, Bantustan, barn, Bhutan, Dagestan, darn, dewan, Farne,… Hindustan , Hindustan •Abadan, Abidjan, Amman, Antoine, Arne, Aswan, Avon, Azerbaijan, Baltistan, Baluchistan, Bantustan, barn, Bhutan, Dagestan, darn, dewan, Fa… Holstein , Holstein •airplane, terreplein •sailplane, tailplane •mainplane •seaplane, ski-plane •chilblain •biplane, triplane •warplane • towplane • Tamerlane •… Huascaran , Huascarán •Abadan, Abidjan, Amman, Antoine, Arne, Aswan, Avon, Azerbaijan, Baltistan, Baluchistan, Bantustan, barn, Bhutan, Dagestan, darn, dewan, Fa…
You Might Also Like
NEARBY TERMS
recursive subroutine