Constants

A constant is used to define a symbolic name for a constant, and it does not declare any data.

The symbolic constant can be used anywhere a regular constant is used.

The data declaration for a constant follows this form:

const name-identifier = n;
The following example defines a symbolic constant, DOZEN, that is equal to 12:

const DOZEN = 12;