Answer:
In c++, you can pass a variable by reference and still prevent the function from changing its value by using the keyword const in the formal parameter.
Const is a keyword used to determine given identifier is a constant i.e its value can't be changed.
const is used to determine a variable worth that can't be changed.
e.g. : const int a = 10;
presently above worth of a can't be changed.
in the event that the keyword const is used in the function definition, it gives the client an affirmation that it won't change any value passed to it.
To read more about C++ Keywords, visit
https://brainly.com/question/14492223
#SPJ4