【单选题】已知 enum week {sun,mon,tue,wed,thu,fri,sat}day; 则正确的赋值语句是( )。
【单选题】设有如下程序段,则下列说法中正确的是()。 enum week{Mon,Tue,Wed,Thu,Fri,Sat,Sun}; enum week day; scanf("%d", &day); if(day==Sat ll day==Sun) printf("It is a holiday!(%d)\n",day);
C.
此程序段正确,当输入为5时,输出为It is a holiday!(Sat)
D.
此程序段正确,当输入为5时,输出为It is a holiday!(5)
【单选题】若有下列定义: enum week {sun,mon,tus,wed,thu,fri,sat} day1; 则下列语句正确的是 。
【单选题】若有定义enum week {sun, mon, tue, wed, thu, fri, sat} day;以下正确的赋值语句是( )。
【单选题】已知 enum week {sun,mon,tue,wed,thu,fri,sat}day;则正确的赋值语句是____。
【单选题】设有以下枚举说明语句:enum weekday{Mon=1,Tues,Wed,Thurs,Fri,Sat,Sun=0}week;下面那一条赋值语句是错误的?
【简答题】下列程序的运行结果为【 】。 enum weekday {sun=7,mon=1,tue,wed, thu, fri,sat}; main ( ) { enum weekday workday,week end; int i,a[8]; workday=tue; week end=sun; printf ('/ntueday=%d sunday=%d; ',workday, week_end); ...
【单选题】下列关于翼尖涡流的叙述正确的是:()
C.
翼尖涡流产生的下洗作用使机翼的升力和阻力增大
【单选题】以下程序的输出结果是 ( ) enum weekday {sun=7,mon=1,tue,wed,thu,fri,sat}; main( ) { enum weekday workday,week_end; int i,a [8]; workday=tue; week end=sun; pritnf('/ntuesday=%d sunday=%d', wotkday, week_end); wor...
A.
tuesday=2 sunday=7;tuesday=2 sunday=7;1 2 3 4 5 6 7
B.
tuesday=2 sunday=7;tuesday=9 sunday=3;1 2 3 4 5 6 7
C.
tuesday=0 sunday=7;tuesday=2 sunday=3;1 2 3 4 5 6 7
D.
tuesday=1 sunday=2;tuesday=3 sunday=4;1 2 3 4 5 6 7