Multiple choice

In C++, unless a function uses pointer or references, the function cannot change a parameter's values.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In C++, arguments are passed by value by default, meaning the function receives a copy of the original data. Changes made to the parameter inside the function do not affect the original variable unless pointers or references are used.