Scope of Variable and Pass Variable by Value to Function





The value of numMice is:  


The value of x, in the changeValue() function is:  


The value of numMice after calling the changeValue() function is: