...
| Code Block | 
|---|
|  | 
| 
#define PI 3.14159
float degrees;
float radians;
/* // ... */
radians = degrees * PI / 180;
 | 
...
| Code Block | 
|---|
|  | 
| 
float const pi = 3.14159;
float degrees;
float radians;
/* // ... */
radians = degrees * pi / 180;
 | 
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
References
| Wiki Markup | 
|---|
| \[[ISO/IEC 9899-1999|AA. C References#ISO/IEC 9899-1999]\] Section 6.3.2.1, "Lvalues, arrays, and function designators," Section 6.7.2.2, "Enumeration specifiers," and Section 6.10.3, "Macro replacement" |