以下关于枚举变量定义错误的是 A: enumweek{sun,mon,tue,wed,thue,fri,sat}weektest; B: enum{sun,mon,tue,wed,thue,fri,sat}weektest; C: enumweek{sun,mon,tue,wed,thue,fri,sat};enumweek weektest; D: enumweek{sun,mon,tue,wed,thue,fri,sat};
以下关于枚举变量定义错误的是 A: enumweek{sun,mon,tue,wed,thue,fri,sat}weektest; B: enum{sun,mon,tue,wed,thue,fri,sat}weektest; C: enumweek{sun,mon,tue,wed,thue,fri,sat};enumweek weektest; D: enumweek{sun,mon,tue,wed,thue,fri,sat};
设以下定义,值为5的枚举量是enumweek{sun,mon=4tue,wed,thu,fri,sat}w;() A: tue B: sat C: fri D: the
设以下定义,值为5的枚举量是enumweek{sun,mon=4tue,wed,thu,fri,sat}w;() A: tue B: sat C: fri D: the
已知enumweek{sun,mon,tue,wed,thu,fri,sat}day;则正确的赋值语句是() A: sun=0; B: san=day; C: sun=mon; D: day=sun;
已知enumweek{sun,mon,tue,wed,thu,fri,sat}day;则正确的赋值语句是() A: sun=0; B: san=day; C: sun=mon; D: day=sun;
执行以下语句后输出的结果是______。[br][/br]enumweek{sun,mon,tue,wed=4,thu,fri,sat};[br][/br]cout<<fri<<endl; A: 6 B: 5 C: thu D: 编译错
执行以下语句后输出的结果是______。[br][/br]enumweek{sun,mon,tue,wed=4,thu,fri,sat};[br][/br]cout<<fri<<endl; A: 6 B: 5 C: thu D: 编译错
1