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 advantages and disadvantages of recursive
calling ?

Answer Posted / ganesh narayanan

advantage : A recursive definition defines an object in simpler cases of itself reducing nested looping complexity

disadvantage : less efficient as compared to the non-recursive counterparts as the overhead involved in entering,re-entering and exiting a block is avoided in case of the non recursive forms. its also possible to identify a number of local variables which need not be saved and restored with the help of stacks and this unwanted stacking activity is avoided in the non-recursive versions.

Is This Answer Correct ?    26 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to write optimum code to divide a 50 digit number with a 25 digit number??

3267


What is a structural principle?

1161


Explain what math functions are available for integers? For floating point?

1107


What is "Hungarian Notation"?

1106


Explain what are the advantages and disadvantages of a heap?

1086


What is storage class?

1073


hi send me sample aptitude papers of cts?

2164


can we change the default calling convention in c if yes than how.........?

2531


What is the collection of communication lines and routers called?

1120


What is an array? What the different types of arrays in c?

1179


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

1164


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1819


Can true be a variable name in c?

1037


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1967


What is #define size in c?

1187