Constant refers to variables having fixed values that the program can't change during its execution.
These fixed values are also called literals.
Constant definition in C++
const keyword is used to define a constant variable.
const int employeeId = 121 ; const float salary = 20145.50 ;
Types of literals:
Integer literals10 // decimal number
0b0100 // binary number
0x20e // octal hexadecimal
0123 // octal