测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A48394. 运行以下程序的输出结果为( )#include<stdio.h>void main(){ enum color {Black=1,Red,Blue,Green}; enum color c1,c2; c1=Red;c2=Blue; printf("%d,%d\n",c1,c2);}

单选题 中等

题目描述

运行以下程序的输出结果为(    )

#include<stdio.h>

void main()

{

    enum color {Black=1,Red,Blue,Green};

    enum color c1,c2;

    c1=Red;c2=Blue;

    printf("%d,%d\n",c1,c2);

}

选项(单选)

上一题 下一题