When naming constants, use the following format.
NAME |
Parameters
- NAME
- Specifies the name of the constant in uppercase characters.
Example
The following example illustrates using the #DEFINE preprocessor directive with the name of the constant MAX_VALUE in uppercase characters:
В | ![]() |
---|---|
#DEFINE MAX_VALUE 10 |