Copy of an entire object is passed to a function - Pass-by-value
Q. C++: When a copy of an entire object is passed to a function, then it is referred to as- Published on 24 Jun 15a. Pass-by-reference
b. Pass-by-pointer
c. Pass-by-value
d. None of the above
ANSWER: Pass-by-value
The pass-by-value passes arguments to a function copies the actual value of an argument into a formal parameter of a function.