There are two types of ____ parameters: value parameters and reference parameters.?
A. actual
B. formal
C. active
D. passive
the test says the answer is A. but in the book it shows the answer as being B. so I'm really confused %26gt;_%26lt;
C++ which two types of parameters? (more details)?
They are function parameters so the answer is B - formal.
Value parameters are used to pass information into a function. Reference parameters are used to pass information in and out of a function.
i.e. type function-name (formal parameter type list);
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment