Part 1
In C, is there any difference between declaring an enum like this:
typedef enum{VAL1, VAL2,} firstEnum;
and like this:
enum secondEnum{Val1, Val2,};
Apart from the fact that when using secondEnum, you have to write:
enum secondEnum...;
Part 2
Also, am I right in thinking that the following is equivalent:
enum{Val1, Val2,} enum1;
and
enum thirdEnum{Val1, Val2,}
enum thirdEnum enum1;
Thanks