【简答题】A.working B.hot C.same D.ordinary
【单选题】设循环队列的结构是: const int MaxSize=100; typedef int Data Type; typedef struct { DataType data[MaxSize]; int front, rear; }Queue; 若有一个Queue类型的队列Q,试问判断队列满的条件应是(33)。
B.
Q.front-Q.rear==MaxSize;
C.
Q.front+Q.rear=MaxSize;
D.
Q.front==(Q.rear+1)%MaxSize;
【简答题】A.essential B.last C.same D.only
【简答题】A.complicated B.similar C.same D.special
【单选题】以下选项中不能正确把c1定义成结构体变量的是
A.
typedef struct { int red; int green;; int blue; }COLOR; COLOR cl;
B.
struct color cl { int red; int green; int blue; }
C.
struet color { int red; int green; int blue; }c1;
D.
struct { int red; int green; int blue; }cl;
【单选题】以下选项中不能正确把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 } cl
【单选题】以下选项中不能正确把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 ;
【简答题】A.more B.less C.same D.most
【简答题】A.complicated B. C.same D.different
【简答题】A.exact B.identical C.same D.alike