I dont find any need of enums?

Coz I think, there are many options(like macro, or simply declaring a variable) to enums
Am I correct?
No. Besides the fact that they're assigned values automatically, they allow for some type safety.
For example, you cannot pass an int to a function that expects an enum type.
Topic archived. No new replies allowed.