Functionality | Enum | #define |
Numeric values assigned automatically? | Yes | No |
Can the debugger display the symbolic values? | Yes | No |
Obey block scope? | Yes | No |
Control over the size of the variables? | No | No |
Also check the former post about enum
No comments:
Post a Comment