When naming constants, use the following format.
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:
| | Copy Code |
|---|
#DEFINE MAX_VALUE 10 |
See Also