What are advantages and disadvantages of recursive
calling ?
Answer Posted / morfy
Use of recursion in an algorithm has both advantages and
disadvantages. The main advantage is usually simplicity.
The main disadvantage is often that the algorithm may
require large amounts of memory if the depth of the
recursion is very large. High memory consumption is due to
large function call number (recursion means that function
calls itself multiple times).
Is This Answer Correct ? | 26 Yes | 5 No |
Post New Answer View All Answers
Was 2000 a leap year?
Write a program for finding factorial of a number.
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Why clrscr is used in c?
How can I use a preprocessorif expression to ?
What is the sizeof () a pointer?
Explain how are portions of a program disabled in demo versions?
Explain about the constants which help in debugging?
What are c header files?
Between macros and functions,which is better to use and why?
Is it better to use a macro or a function?
What is sizeof int in c?
What does the file stdio.h contain?
What is pass by reference in functions?
how logic is used