如下程序段,在划线处填写语句并写出card变量的值。 enum { club,diamond,heart,spade } card; card=heart; printf ( “___________ \n”,card);
举一反三
- 关于枚举类型变量声明错误的选项是哪一个? A: enum _card_t { SPADE, HEART, DIAMOND, CLUB} card_type; B: enum _card_t { SPADE=1, HEART, DIAMOND, CLUB}; enum _card_t card_type; C: typedef enum _card_t { SPADE, HEART, DIAMOND, CLUB} card_t; _card_t card_type; D: enum { SPADE, HEART, DIAMOND, CLUB} card_type;
- A loyalty card can also be named as: A: Club card B: Rewards card C: Points card D: Advantage card
- 词根card表示heart,cardigan sweater是一件什么样的毛衫?
- A business card is also called ________________. A: visiting card B: telling card C: calling card D: hotel card
- Business card can also be referred as:( ) A: visiting card B: calling card C: complimentary card D: name card