C++ Question & Answers
Which is more effective while calling the functions?
|A) call by value||B) call by reference|
|C) call by pointer||D) none|
Answer: B) call by reference
In the call by reference, it will just copy the address of the variable to access it, so it will reduce the memory in accessing it.
- Related Questions