Constant refers to variables having fixed values that the program can't change during its execution.
These fixed values are also called literals.
const keyword is used to define a constant variable.
Example :
const int employeeId = 121 ;
const float salary = 20145.50 ;
© 2018 BreakInerview