What are advantages and disadvantages of recursive
calling ?

Answer Posted / rahul

advantage:using recursion we can avoid unnecessary callingof
functions.
disadvantage:recursive calling increase the space complexity.

Is This Answer Correct ?    45 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a macro, and explain how do you use it?

631


Here is a good puzzle: how do you write a program which produces its own source code as output?

602


how to find anagram without using string functions using only loops in c programming

2720


given post order,in order construct the corresponding binary tree

2325


What is #include stdlib h?

618






Explain what is the difference between text files and binary files?

622


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

648


Where are some collections of useful code fragments and examples?

719


What is formal argument?

654


How can I find out if there are characters available for reading?

649


What does sizeof return c?

610


What is scope rule of function in c?

554


What is difference between arrays and pointers?

584


What is the size of array float a(10)?

659


What is %d called in c?

763