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 %d used for?

1040


What is the g value paradox?

1169


How to draw the flowchart for structure programs?

9338


Explain the difference between malloc() and calloc() in c?

1047


Explain how do you generate random numbers in c?

1087


How can you find out how much memory is available?

1068


What is the meaning of c in c language?

1161


What are volatile variables in c?

940


Write a Program to find whether the given number or string is palindrome.

1276


What are pragmas and what are they good for?

994


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1089


Explain what is output redirection?

1195


What is const volatile variable in c?

1035


Why header files are used?

1118


What is the scope of static variable in c?

1021