题目内容
(请给出正确答案)
[单选题]
引起循环队列队头位置发生变化的操作是
A.取队尾元素
B.取队头元素
C.出队
D.入队
答案
查看答案
A.取队尾元素
B.取队头元素
C.出队
D.入队
第1题
A.r-f
B. (n+f-r)% n
C. n+r-f
D. (n+r-f)% n
第2题
:Afront=front+1
Bfront=(front+1)% m
Crear=(rear+1)%m
Dfront=(front+1)%(m+1)
第8题
A.快进
B.慢进
C.快退
D.停止运动
第10题
A.f->next=s; f=s;
B.r->next=s; r=s;
C.s->next=r; r=s;
D.s->next=f; f=s;