When passing by reference, changes made to the parameter within the function _______ the original argument.
- alter
- bypass
- skip
- hide
When passing arguments by reference in C++, any modifications made to the parameter within the function directly alter the original argument. This is different from passing by value, where the function works on a copy and the original remains unchanged.
Loading...
Related Quiz
- In a for loop, if a continue statement is executed, then the control jumps to _______.
- A tail-recursive function often can be rewritten iteratively using a _______.
- The problem in which a derived class may inherit the same member more than once from a base class hierarchy is known as the _______ problem.
- In what scenario might the compiler ignore the inline keyword for a function?
- The _______ keyword is used to explicitly instantiate a template.