以下选项中不能正确把c1定义成结构体变量的是
A.typedef struct {int red: int green: int blue; } COLOR; COLOR c1;
B.struct color c1 {int red int green: int blue; };
C.struct color {int red , int green : int blue : )cl;
D.struct {int red; int green; int blue } c1 ;
第1题:
以下选项中不能正确把cl定义成结构体变量的是()。
A.typedef struct { int red; int green; int blue; } COLOR; COLOR cl;
B.struct color cl { int red; int green; int blue; };
C.struct color { int red; int green; int blue; }cl;
D.struct { int red; int green; int blue; }c1;
第2题:
【单选题】以下选项中不能正确把cl定义成结构体变量的是______。
A.typedef struct {intred; int green; int blue; } COLOR; COLOR cl;
B.struct color cl { int red; int green; int blue; };
C.struct color { int red; int green; int blue; }cl;
D.struct {int red; int green; intblue; }c1;
第3题:
以下选项中不能正确把c1定义成结构体变量的是______。
A.typedef struct { int red; int green; int blue; } COLOR; COLOR cl;
B.struct color cl { int red; int green; int blue; };
C.struct color { int red; int green; int blue; } c l;
D.struct { int red; int green; int blue; } c l;
第4题:
如下选项,哪个不是定义类型名tcolor________。
A.enum tcolor{red, green, blue};
B.typedef enum color{red,green,blue} tcolor;
C.enum color {red,green,blue}; typedef enum color tcolor;
D.typedef enum {red,green,blue} tcolor;
第5题:
9、以下选项中不能正确把c1定义成结构体变量的是______。
A.typedef struct { int red; int green; int blue; } COLOR; COLOR cl;
B.struct color { int red; int green; int blue; } c l;
C.struct color cl { int red; int green; int blue; };
D.struct { int red; int green; int blue; } c l;