以下选项中不能正确把cl定义成结构体变量的是______。<br class="markdown_return">1) type

分类: C语言开发工程师 发布时间: 2023-11-03 11:13 浏览量: 0

以下选项中不能正确把cl定义成结构体变量的是______。
1) typedef struct
{int red;
Int green;
Int blue;
} COLOR;
COLOR cl;
2) struct color cl
{ int red;
Int green;
Int blue;
};
3) struct color
{ int red;
Int green;
Int blue;
}cl;
4) struct
{int red;
Int green;
Int blue;
}cl;

A.1

B.2

C.3

D.4

正确答案是B