当前位置: X题卡 > 所有题目 > 题目详情

以下选项中不能正确把c1定义成结构体变量的是( )。

查看本题答案

你可能感兴趣的试题

变量c1被赋予字符a,c2被赋予回车符  程序将等待用户输入2个字符  变量c1被赋予字符a,c2中仍是原有字符2  变量c1被赋予字符a,c2中将无确定值  
typedef struct { int red; int green; int blue; } COLOR; COLOR cl;  struct color cl { int red; int green; int blue; }  struct color { int red; int green; int blue; }cl;  struct { int red; int green; int blue; }cl;  
typedef struct { int red; int red; int green; int blue; }COLOR; COLOR c1;  struct color c1 { int red int red; int green int blue; };  stmctcolor { int red, int green;    int blue; }c1;  struct { int red;  int green; int blue; }c1;  
typedef struct  int red;  int green;  int blue;  COLOR;  COLOR cl;  struct color cl  int red;  int green;  int blue;  struct color  int red;  int green;  int blue;  
可以对共用体变量名直接赋值  一个共用体变量中可以同时存放其所有成员  一个共用体变量中不能同时存放其所有成员  共用体类型定义中不能出现结构体类型的成员  
A32<CR>

B45<CR>  
A45<CR>

B32<CR>  
A32B45<CR>  A 32B45<CR>  
typedef struct    { int red;     int green;     int blue;    } COLOR;      COLOR cl;  struct color cl    { int red;    int green;    int blue;    }  struct color    { int red;    int green;    int blue;    } cl;  struct    { int red;    int green;    int blue;    } cl;  
typedef struct
int red;
int red;
int green;
int blue;
COLOR;
COLOR c1;  
struct color c1
int red
int red;
int green
int blue;
;  
stmctcolor
int red,
int green;   
int blue;
c1;  
struct
int red;
  int green;
int blue;
c1;  
变量c1被赋予字符a,c2被赋予回车符  程序将等待用户输入第2个字符  变量c1被赋予字符a,c2中仍是原有字符2  变量c1被赋予字符a,c2中将无确定值  
typedef struct  { int red;  int green;  int blue;  } COLOR;  COLOR cl;  B)struct color cl  { int red;  int green;  int blue;  }  struct color  { int red;  int green;  
A32<CR>
B45<CR>  
A45<CR>
B32<CR>  
A32B45<CR>  A 32 B 45<CR>  
A32<CR>  A45<CR> B45<CR> B32<CR>  A32B45<CR>  A32B45<CR>  
typedef struct    { int red;     int green;     int blue;    } COLOR;      COLOR cl;  struct color cl    { int red;    int green;    int blue;    }  struct color    { int red;    int green;    int blue;    } cl;  struct    { int red;    int green;    int blue;    } cl;  
A32<CR> B45<CR>  A45<CR> B32<CR>  A32B45<CR>  A 32B45<CR>  
A32<CR> B45<CR>  A45<CR> B32<CR>  A32B45<CR>  A 32 B 45<CR>  
A32<CR>
B45<CR>  
A45<CR>
B32<CR>  
A32B45<CR>  A 32 B 45<CR>  
A32<CR>  A45<CR>
B45<CR> B32<CR>  
A32B45<CR>  A32B45<CR>  
typedef struct
int red:
int green:
int blue;
COLOR;
COLOR c1;  
struct color c1
int red
int green:
int blue;
;  
struct color
int red ,
int green :
int blue :
)cl;  
struct
int red;
int green;
int blue
c1 ;  

热门试题

更多