Beginner C++
Q38 / 100

What is function call by reference?

Correct! Well done.

Incorrect.

The correct answer is B) Passing the memory address so the function can modify the original

B

Correct Answer

Passing the memory address so the function can modify the original

Explanation

void increment(int& x) { x++; } modifies the original variable. No copy is made; the parameter is an alias for the argument.

Progress
38/100