Local variables are variables defined inside a function and
has scope only inside that function. In recursion, a function call itself but
these two functions are different functions (You can imagine these functions
are function1 and function 2. The local variables inside function1 and
function2 are also different and can only be accessed within that function.
Saturday, 30 May 2015
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment