-->
当前位置:首页 > Eng > 正文内容

填空题:枚举类型元素值的赋值与输出

Luz2年前 (2022-12-11)Eng1257
阅读程序,写出程序的运行结果:
#include <stdio.h>
int main()
{
enum weekday {sum,mon=3,tue,wed,thu};
enum weekday workday;
workday=wed;
printf("%d",workday);
return 0;
}
//程序的运行结果是:







answer:
第1空:5 ||

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。