C++ references allow you to give a variable a second name that you can use to read or modify the…
Const keyword define constant values that cannot change while the program is running. A const variable must be assigned a…