当前位置: X题卡 > 所有题目 > 题目详情

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

查看本题答案

你可能感兴趣的试题

Numbernum=1;  Numbernum=Number(20);  Numbernum=Number(eightl0xFF);  枚举类型Number的取值范围是0~15  
Number num=1;  Number num=Number(20);  Number num=Number(eight  OxF;  枚举类型Number的取值范围是0~15  
enum a=one, two, three);  enum a one=9, two=1three;  enum a="one", "two", "three";  enum a "one", "two". "three";  
枚举类型成员的值可以为负数  枚举类型的几个是连续的整数  枚举类型的第一成员的值一定是0  枚举类型成员值的类型一定是长整型  
枚举类型的定义为:enumMonday,Tuesday,Wednesday,Thursday,FridayDay;  在C++语言中,用户自定义的枚举类型的第一个常量的默认值是1  可以定义如下枚举类型:enumMonday,Tuesday,Wednesday=5,Thursday,Friday=5;  以上说法都不正确  
Number num=1;  Number num=Number(20);  Number num=Number(eight  OxFF);  枚举类型Number的取值范围是0~15  
enum a={one,two,three};  enum a{one=9,two=-1,three=200};  enum a={"one","two","four"};  enum a{"nine","two","three"};  
enum a=one, two,three;  enum aone=9,two=1,three;  enum a="one","two","three";  enum a"one", "two","three";  
enum a={one,two,three};  enum a{one=9,two=-1.three=200};  enum a={"one","two","four"};  enum a{"nine","two","three"};  
Number num=1;  Number num=Number(20);  Number num=Number(eight  0xFF);  枚举类型Number的取值范围是0~15  
enum a={one,two,three};  enum a {one=9,two=1,three};  enum a={"one","two","three"};  enum a{"one","two","three"};  
enum a=one,two,three;  enum aone=9,two=-1.three=200;  enum a="one","two","four";  enum a"nine","two","three";  
enum a={one,two,three};  enum a{on=9,two=-1,three};  enum a={"one","two","three"};  enum a{"one","two","three"};  
Number num=1;  Numbernum=Number(20);  Number num=Number(eight│OxFF);  枚举类型Number的取值范围是0~15  
enuma=one,two,three;

  
enumaone=9,two=-1,three;
  
enum a={"one" "two","three";
  
enum a"one","two","three";  
enum a=one,two,three;  enum aone=9,two=-1,three;  enum a="one","two","three";  enum a"one","two","three";  
enum a={one, two, thre;  enum a {one=9, two=1three};  enum a={"one", "two", "three"};  enum a {"one", "two". "three"};  
enum a=one,two,three;  enum aone=9,two=-1,three');  enum a="one"two"three";  enum a"one"two"three";  
Number num=1;  Numbernum=Number(20);  Number num=Number(eight│OxF;  枚举类型Number的取值范围是0~15  
enum a=one,two,three;  enum aone=9,two=-1,three=200;  enum a="one","two","four";  enum a"nine","two","three";  

热门试题

更多