Datatyper - slide 10 : 29 |
Enumerated types in Standard C act as little more than slightly more readable ways to name integer constants [Harbison & Steele]
As a matter of style, we suggest that programmers treat enumerated types as different from integers and not mix them in integer expressions without using casts [Harbison & Steele]