Computer Science, asked by AbhishekBirua7898, 1 year ago

Copy constructor must receive its arguments by __________ . either pass-by-value or pass-by-reference only pass-by-value only pass-by-reference only pass by address

Answers

Answered by writersparadise
1

The answer is only pass-by-reference.


Copy constructor must receive its arguments by only pass-by-reference. In this case, the reference to the argument in the calling function is passed to the equivalent formal parameter of the called function. The value of the argument in the called function can be modified by the passed in reference value. The reference parameters cannot be reassigned or NULL.
Similar questions