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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment