void MyFunction()
and in that function, a variable that is declared inside the function, not received from the main function, is changed or set, will the function have the same variable data when it is called upon again?
|
|
*** enter foo *** initialize a a == 1000 initialize s s == 1000 *** exit foo *** *** enter foo *** initialize a a == 1000 s == 1001 *** exit foo *** *** enter foo *** initialize a a == 1000 s == 1002 *** exit foo *** |