...
Macros, or an enumeration constant, may also be used instead of a const
-qualified object. DCL06-A. Use meaningful symbolic constants to represent literal values in program logic describes the relative merits of using macros const
-qualified object, enumeration constants, and const
object-qualified objectlike macros. However, adding a const
qualifier to an existing variable is a better first step than replacing the variable with an enumeration constant or macro, because the compiler will issue warnings on any code that changes your const
-qualified variable. Once you have verified that a const
-qualified variable is not changed by any code, you may consider changing it to an enumeration constant or macro, as best fits your design.
...