What are advantages and disadvantages of recursive
calling ?
Answer Posted / swapna
advantages ;
recursive functions can be effectively used to solve
problems where the solution is expressed in terms of
applying the same solution.
disadvantages ;
in recursive we must have an if statement somewhere to
force the func. to return without the recursive call being
executed.otherwise the funct. will never return.
| Is This Answer Correct ? | 22 Yes | 36 No |
Post New Answer View All Answers
What are bitwise shift operators in c programming?
Can the sizeof operator be used to tell the size of an array passed to a function?
Is swift based on c?
What is the difference between #include
How to define structures? ·
What is the difference between arrays and pointers?
Explain how do you sort filenames in a directory?
Is it fine to write void main () or main () in c?
How to draw the flowchart for structure programs?
Explain what are header files and explain what are its uses in c programming?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is the right type to use for boolean values in c? Is there a standard type?
What is a newline escape sequence?
Write a program to print fibonacci series using recursion?
#include