Is enum variable is useful?

Posted by drigoSkalWalker on Stack Overflow See other posts from Stack Overflow or by drigoSkalWalker
Published on 2010-03-23T18:39:20Z Indexed on 2010/03/23 18:43 UTC
Read the original article Hit count: 322

Filed under:
|

When I declare a enum variable like this:

enum paint_colors (RED, GREEN, BLUE . . .) colors;

is colors variable useful?

What Can I do with it?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about c

    Related posts about enums