Qualified constants are created using const qualifier.
Example
const int a = 10
Consider the statements,
int a = 10
It is possible to modify the value of a
const int a = 10
It is possible to read the value placed within the memory location, but it is not possible to modify the value
Views: 0