...
Parenthesizing the -1
in the declaration of EOF
ensures that the macro expansion is evaluated correctly. Note that this example also violates DCL00-A. Declare immutable values using enum or const.
Code Block |
---|
#define EOF (-1) |
...
...
Parenthesizing the -1
in the declaration of EOF
ensures that the macro expansion is evaluated correctly. Note that this example also violates DCL00-A. Declare immutable values using enum or const.
Code Block |
---|
#define EOF (-1) |
...