+ 2
How to declare a variable as a constant in the entire code?
only keyword needed
3 Answers
+ 4
Use "const" keyword.
+ 3
@M Squared
Nice! I will give that a shot.
ref
https://docs.microsoft.com/en-us/cpp/cpp/constexpr-cpp
0
"const"
only keyword needed