• 2022-05-28
    下列枚举类型的定义中,包含枚举值3的是( )。
    A: enum test {RED, YELLOW, BLUE, BLACK};
    B: enum test {RED, YELLOW=4, BLUE, BLACK};
    C: enum test {RED=-1, YELLOW,BLUE, BLACK};
    D: enum test {RED, YELLOW=6, BLUE, BLACK};