What are advantages and disadvantages of recursive
calling ?

Answer Posted / gadadhar dutta

Disadvantage of recursion
1. It is requires extra storage space. The recursive calls and automatic variable a stored on the stack. For every calls separate memory is allocated to automatic variable with the same name.
2. the recursion function is not efficient in execution speed and time.
3. Some function called inside recursion are repeated or duplicated just like Fibonacci.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe dynamic data structure in c programming language?

610


What is property type c?

609


What is c standard library?

694


Explain how do you determine whether to use a stream function or a low-level function?

632


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

877






What is wrong with this program statement? void = 10;

828


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1333


What is function prototype?

613


Why is c platform dependent?

626


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

1507


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2941


Where are local variables stored in c?

572


What is the main difference between calloc () and malloc ()?

576


provide an example of the Group by clause, when would you use this clause

1711


What is a protocol in c?

561