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
Explain Function Pointer?
Why does the call char scanf work?
What is the size of array float a(10)?
Why malloc is faster than calloc?
What are compound statements?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
How can I manipulate strings of multibyte characters?
What is the sizeof () operator?
What are the application of c?
program to convert a integer to string in c language'
difference between object file and executable file
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Describe newline escape sequence with a sample program?
a program that can input number of records and can view it again the record