以下选项中不能正确把cl定义成结构体变量的是______。1.typedefstruct{intred;intgreen;intblue;}COLOR;COLORcl;2.structcolorcl{intred;intgreen;intblue;};3.structcolor{intred;intgreen;intblue;}cl;4.struct{intred;intgreen;intblue;}c1;
举一反三
- 以下选项中不能正确把 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;
- 以下选项中不能正确把cl定义成结构体变量的是______
- 以下选项中不能正确把cor定义成结构体变量的是______。 A: struct{ int red; int green; int blue;} cor; B: struct color cor{ int red; int green; int blue;}; C: struct color{ int red; int green; int blue;} cor; D: typedef struct{ int red;int green;int blue;}COLOR;COLOR cor;
- 设DX=78C5H,CL=5,CF=1,确定下列各条指令执行后DX和CF中的值。 (1)SHRDX,1 (2)SARDX,CL (3)SHLDX,CL (4)RORDX,CL (5)RCLDX,CL (6)RCRDH,1
- 以下不能正确定义二维数组的选项是 A.int a[2][2] = {{1}, {2)}; B.int a[][2] = {1, 2, 3, 4}; C.int a[2][2] = {{1}, 2, 3}; D.int a[2][] = {{1, 2}, {3, 4)};