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
Describe dynamic data structure in c programming language?
What is property type c?
What is c standard library?
Explain how do you determine whether to use a stream function or a low-level function?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
What is wrong with this program statement? void = 10;
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
What is function prototype?
Why is c platform dependent?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
Where are local variables stored in c?
What is the main difference between calloc () and malloc ()?
provide an example of the Group by clause, when would you use this clause
What is a protocol in c?