Programming Algorithms Question:

State the problems which differentiate between recursive procedure and non-recursive procedure?

Tweet Share WhatsApp

Answer:

A recursive procedure can be called from within or outside itself, and to ensure its proper functioning, it has to save in same order the return address so that it return to the proper location will result when the return to a calling statement is made. The procedure must also save the formal parameters, local variables etc.

Download Programming Algorithms PDF Read All 30 Programming Algorithms Questions
Previous QuestionNext Question
Explain the depth of recursion?How do I rotate a 2D point?