[简答题]part 2 & 3
Animal
Describe an interesting animal
Are you a vegetarian
Should animals be kept in cities or countryside
What are some of the problems related to raising pets
第20题: [单项选择]以下对枚举类型名的定义中正确的是( )。 A. enum a={one,two,three}; B. enum a{one=9,two=-1.three=200}; C. enum a={"one","two","four"}; D. enum a{"nine","two","three"}; 参考答案:B 答案解析:[解析] 枚举类型的定义类似于结构体和共用体,所以选项A和C不正确。大括号中的枚举元素应该使用合法标识符来定义,而不是字符串常量,所以选项D不正确。故应该选择B。