参考答案和解析
正确答案:D
更多“All the dishes in this menu, otherwise stated, will serve two to three people. A. as B ”相关问题
  • 第1题:

    以下对枚举类型名的定义中正确的是______。

    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"};


    正确答案:B
    解析:声明枚举类型用enum开头。例如:enumweekday(sun,mon,tue,wed,thu,fri,sat);说明:1、在C编译中,对枚举元素按常量处理,同时可以改变他们的值。2、枚举值可以用来做判断比较。3、一个整数不能直接赋给一个枚举变量。

  • 第2题:

    8、以下对枚举类型名的定义中正确的是

    A.enum a {one=9,two=-1,three};

    B.enum a={“one”, “two”, “three”};

    C.enum a {“one”, “two”, “three”};

    D.enum a={one, two, three};


    enum a{a1,a2,a3};

  • 第3题:

    7、以下对枚举类型名的定义中正确的是()。

    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"};


    enum a {one=9,two=-1,three};

  • 第4题:

    以下对枚举类型名的定义中正确的是

    A.enum a {one=9,two=-1,three};

    B.enum a={“one”, “two”, “three”};

    C.enum a {“one”, “two”, “three”};

    D.enum a={one, two, three};


    enum a{a1,a2,a3};

  • 第5题:

    5、以下对枚举类型名的定义中正确的是()。

    A.enum a={one,two,three};

    B.enum a{one=9,two,three};

    C.enum a={"one","two","three"};

    D.enum a{"one","two","three"};


    enum a {one=9,two=-1,three};

  • 第6题:

    以下对枚举类型名的定义中正确的是()。

    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"};


    A