A constant represents that what a value is stored in it cannot be changed anytime. We use “const” keyword for declaring any variable as constant. This keyword is a guideline to a compiler that the value of variable is not changeable at any time during the execution of the program.