• 2022-06-19
    下列对枚举类型的正确定义形式为( )
    A: enum a={one,two,three};
    B: enum a{one=9,two=-1,three};
    C: enum a={"one","two","three"};
    D: enum a{"one","two","three"};