Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are the advantage and disadvantage of recursion

Answer Posted / jyoti singh

Advantages of recursion:-
1.Recursion is more efficient if the program using recursion is run on computer with multiprocessing facilities.
2.It is very useful in solving the data structure problems.
3. It is easily, simple and understandable.

Disadvantages of recursion:-
1. It requires more memory because recursive calls along with automatic variables are stored on the stack.
2.The computer may run out of memory if recursive calls are not properly checked.

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer to pointer in c with example?

1158


Explain how can you check to see whether a symbol is defined?

1253


What is wrong with this code?

1242


How do you list a file’s date and time?

1111


How can I sort a linked list?

1086


Write a Program to accept different goods with the number, price and date of purchase and display them

6297


Can true be a variable name in c?

1090


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15890


What is array of structure in c programming?

1333


How can I do peek and poke in c?

1136


What is structure padding in c?

1191


What are structure types in C?

1154


How to write a code for reverse of string without using string functions?

2203


what is the basis for selection of arrays or pointers as data structure in a program

4344


What's the right way to use errno?

1201