问题
填空题
以下程序运行时,输出到屏幕的结果是___(6)___。
#include
enum color{BLACK,YELLOW,BLUE=3,GREEN,WHITE};
void main()
{char *colorname[]={"Black","Yellow","Blue","Green","White"};
enum color cl=GREEN,c2=BLUE;
printf("%s",colorname[c1-c2]);
}
答案
参考答案:Yellow