supose i have an array in recursion which is initialized with value n... in every recusrsive call i decrement n.... so that mean if initially array initialized with 10 but in second recursive call it will be 9 n when i print it will print with 10 initialized value n with 9 alos....i thnk so...what say guys
On Sun, Oct 2, 2011 at 4:01 AM, Hatta <[email protected]> wrote: > wait wait, that depends on the scope, the language, eventually the > compiler, everything. > please show a snip of recursive code so we can tell, please? > > > On Sat, Oct 1, 2011 at 3:44 PM, rahul sharma <[email protected]> > wrote: > > as we know in recursion new set of variables are created for every > > recurrsive call...if i have array in recursion,then does a new array > created > > for every recursive call??? > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Algorithm Geeks" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > > http://groups.google.com/group/algogeeks?hl=en. > > > > > > -- > Hatta > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
