#include typedef enum typeA { A1, A2, A3, } typeA ; typedef enum typeB { B1, B2, B3, } typeB ; int main(void) { typeA a = A3; a= B2; printf("a = %d\n", a); return 0; }