单项选择题

以下选项中不能正确把cl定义成结构体变量的是______。
1.typedefstruct
    {intred;
     int green;
     int blue;
    } COLOR;
   COLOR cl;
2.structcolor cl
    { int red;
      int green;
      int blue;
    };
3.structcolor
    { int red;
      int green;
      int blue;
    }cl;
4.struct
    {int red;
     int green;
     intblue;
    }c1; A.
1 B.
2 C.
3 D.
4

微信扫码免费搜题