|
course.wilkes.edu/CS125Labs |
||||
Experiment 2: Value Parameters and Their Arguments
The Question: If a function alters the value of one of its value parameters, what is the effect on the argument corresponding to that parameter?
Hypothesis: Review the definition of value parameters, and then construct a hypothesis:
1. Assign initial values to arg1, arg2, and arg3; 2. Display those values on the screen; 3. CallBy comparing the values displayed before the call with those displayed after the call, params provides us with a means of testing our hypothesis.
Observation: Execute your source program. What is displayed ?
|
Home Membership
|
|||
|
Last update: Wednesday, August 23, 2000 at 3:07:11 PM. |
||||