What exactly is the difference between:
typedef enum {
something1,
something2,
.....
somethingN
} myEnum;
end just
enum myEnum{
something1,
something2,
.....
somethingN
};
I know in first case I have typedefed unnamed enum, of course, just wonder which approach is better and why?