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 / vadivelt

Recursion will be useful when same kind of job has to be
continued for a finite no input or time.

Eg: calculating series, finding factorial etc..

Disadvantage would be,
1.Hard to analyse or understand the code.
2.If the recursive function is called for infinite no of
times and memory constrains are not taken care, then stack
overflow may occur So system may crash.

Is This Answer Correct ?    52 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is wrong with this statement? Myname = ?robin?;

1588


What are the advantages of Macro over function?

2023


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1236


what do the 'c' and 'v' in argc and argv stand for?

1175


Why is not a pointer null after calling free?

1023


How many header files are in c?

1038


Explain 'bus error'?

1096


Which header file is used for clrscr?

1059


What is wrong with this program statement? void = 10;

1256


What is the difference between array and linked list in c?

1160


Can a function argument have default value?

1152


What is selection sort in c?

1102


Why main is not a keyword in c?

1258


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

1070


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1688