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...

1)what are limitations for recursive function?
2)write a program to read a text file and count the number of characters in the text file

Answer Posted / mubin ahmed shaik

Limitations of Recursive Approach:
1. Recursive solutions may involve extensive overhead because they use function calls. Each function call requires push of return memory address, parameters, returned result,etc. and every function return requires that many pops.
2. Each time you call a function you use up some of your memory allocation may be in stack or heap. If there are large number of recursive calls – then you may run out of memory.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c have enums?

1026


What does return 1 means in c?

1006


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5893


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

2468


Tell me can the size of an array be declared at runtime?

986


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

994


Why is void main used?

1030


difference between native and cross compilers

2078


Can we assign string to char pointer?

1041


Explain a pre-processor and its advantages.

1068


What is the difference between typedef struct and struct?

1063


Why array is used in c?

968


What is pragma in c?

1126


Is c still used?

997


How can you access memory located at a certain address?

1060