Globla and local variables
I don't understand this. Why the result is always 0. have a look at this code
As u can see in the function test. It has been called recu incrementing count by 1 every time it call back. why it dost show the value 0 - 9 rather than to be infinite loop with just 0.
void test(int count)
But when it refers int global value count we get the right answer. Thats right, but the local variable count is not why??