If I pass an argument by reference to a recursive function, and if the argument's value is changed at any level of the recursion, is this change going to be reflected at every level too?
Or when the recursion goes back to some previous level it will take the old value that the argument had at that level.
I'm sorry I didn't write this very nicely...
Thank you! Avendeval
Or when the recursion goes back to some previous level it will take the old value that the argument had at that level.
I'm sorry I didn't write this very nicely...
Thank you! Avendeval