以下程序的输出结果是 ( ) 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(" tuesday=%d sunday=%d", wotkday, week_end); workday=sun+tue; week_end=(enum weekday)3; printf ("tuesday=%d sunday=%d", workday week_end); a[sun]=sun; a[mon]=mon a[tue]=tue; a[wed]=wed; a[thu]=thu; a[fri]=fr; a[sat]=sat; for(i=1;i<7;i+ +) printf("%d",a [i]); }
main()
{int i,t[][3]={9,8,7,6,5,4,3,2,1};
for(i=0;i<3;i++) printf("%d",t[2-i][i]);
}
程序执行后的输出结果是( )。
免费的网站请分享给朋友吧