Tuesday, July 14, 2009

There are two types of ____ parameters: value parameters and reference parameters.?

There are two types of ____ parameters: value parameters and reference parameters.





A. actual


B. formal


C. active


D. passive

There are two types of ____ parameters: value parameters and reference parameters.?
The answer should be A. Because a formal parameter is just a dummy parameter.





Value parameter is the one that is just a copy of one parameter. and reference parameter is the one that contains the pointer to one parameter. when reference parameter is changed the original value is changed. but it does not happen in the case of value parameter.


No comments:

Post a Comment