Monday, May 24, 2010

What is the data structures used to perform recursion,explain for c and c++?

exlain in the c lang and c++lang with samll examples

What is the data structures used to perform recursion,explain for c and c++?
The recurssion process is a loop with a condition. Example is Fibonacci numbers, Towe of Hanoi . Recursion is a method to develop the logic of the program . Data structure can be "tree structure" Refer to Knuth "Discreate Mathematics"
Reply:stack is used to simulate recursion.
Reply:Hi;





You are in the incorrect forum. Go to www.codeguru.com, this site is for vb,c++,VB.Net,VC.Net developers.

liama-song

No comments:

Post a Comment