What is const keyword?
Answers
Answered by
7
The const keyword specifies that a variable's value is constant and tells the compiler to prevent the programmer from modifying it .
Answered by
2
Explanation:
const Keyword in C++ Constant is something that doesn't change. In C language and C++ we use the keyword const to make program elements constant. const keyword can be used in many contexts in a C++ program.
Similar questions