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
What is switch in c?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
What is #line in c?
Is it fine to write void main () or main () in c?
What is || operator and how does it function in a program?
How do you convert strings to numbers in C?
What is bss in c?
How can I pad a string to a known length?
What is a #include preprocessor?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
What is a function simple definition?
How do you construct an increment statement or decrement statement in C?
Explain the meaning of keyword 'extern' in a function declaration.
Is void a keyword in c?
There seem to be a few missing operators ..