Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum myenum
- {
- first_value,
- second_value
- };
- enum myenum
- {
- first_value,
- second_value
- };
- enum myenum x;
- enum myenum *mypointer=&x;
- enum E {
- X, Y, Z
- };
- typedef enum {
- X, Y, Z
- } E;
- int main() {
- E e;
- E * ep;
- ep = & e;
- }
- #define SUCCESS 0
- #define LITTLE_ERROR 1
- #define BIG_ERROR 2
- enum
- {
- SUCCESS,
- LITTLE_ERROR,
- BIG_ERROR
- };
Add Comment
Please, Sign In to add comment