Question.2
A developer copies a const reference using auto:
const int& ref = some_value; auto copy = ref; copy = 99;
Does modifying copy affect some_value?
copy
some_value
Select Answer
Yes -- auto preserves the reference
No -- auto strips the reference and const; copy is a plain int, an independent copy
Compilation error -- cannot modify a const value
Depends on the compiler